C/C++编码规范
源文件(main.c)
/**
******************************************************************************
* @file main.c
* @author rare-soft
* @version V0.0.0
* @date 28-6-2020
* @brief This file contains the main function.
******************************************************************************
*/
/* Includes -------------------------------------------------------------------- */
/* Private typedef ------------------------------------------------------------- */
/* Private define -------------------------------------------------------------- */
/* Private macro --------------------------------------------------------------- */
/* Private variables ----------------------------------------------------------- */
/* Private function prototypes ------------------------------------------------- */
/* Private functions ----------------------------------------------------------- */
/* Public functions ------------------------------------------------------------ */
/**
* @brief Main program.
* @param None
* @retval None
*/
/************************ (C) COPYRIGHT rare-soft*****END OF FILE****/
头文件(conf.h)
/**
******************************************************************************
* @file conf.h
* @author rare-soft
* @version V0.0.0
* @date 28-6-2020
* @brief This file is used to configure the Library.
******************************************************************************
*/
/* Define to prevent recursive inclusion -------------------------------------*/
#ifndef __CONF_H
#define __CONF_H
/* Includes ------------------------------------------------------------------*/
/* Exported types ------------------------------------------------------------*/
/* Exported constants --------------------------------------------------------*/
/* Exported macro ------------------------------------------------------------*/
/* Exported functions ------------------------------------------------------- */
#endif /* __CONF_H */
/************************ (C) COPYRIGHT rare-soft*****END OF FILE****/