H文件模板
/**
******************************************************************************
* @file
* @author Zhang Jun
* @brief
******************************************************************************
* @attention
*
* <h2><center>© Copyright (c) .
* All rights reserved.</center></h2>
*
* <License>
*
******************************************************************************
*/
/* Define to prevent recursive inclusion -------------------------------------*/
#ifndef __H_
#define __H_
#ifdef __cplusplus
extern "C" {
#endif
//#define HAL_FLASH_ERROR_NONE ((uint32_t)0x00000000U) /*!< No error */
/* Includes ------------------------------------------------------------------*/
/** @addtogroup 名字总驱动的名字父系STM32F7xx_HAL_Driver
* @{
*/
/** @addtogroup 名字 父系下面的子目录
* @{
*/
/* Exported types ------------------------------------------------------------*/
/** @defgroup 名字 说明
* @{
*/
/**
* @}
*/
/* Exported constants --------------------------------------------------------*/
/* Exported macro ------------------------------------------------------------*/
/* Exported functions --------------------------------------------------------*/
/* Private types -------------------------------------------------------------*/
/* Private variables ---------------------------------------------------------*/
/* Private constants ---------------------------------------------------------*/
/* Private macros ------------------------------------------------------------*/
/* Private functions ---------------------------------------------------------*/
/**
* @}
*/
/**
* @}
*/
#ifdef __cplusplus
}
#endif
#endif /* 宏定义名字*/
/************************ (C) *****END OF FILE****/
C文件模板
/**
******************************************************************************
* @file
* @author Zhang Jun
* @brief
*
@verbatim
==============================================================================
##### features #####
==============================================================================
[..]
##### How to use #####
==============================================================================
[..]
@endverbatim
******************************************************************************
* @attention
*
* <h2><center>© Copyright .
* All rights reserved.</center></h2>
*
* licensed
*
******************************************************************************
*/
/* Includes ------------------------------------------------------------------*/
/** @addtogroup 组名
* @{
*/
/** @defgroup 组名
* @brief GPIO HAL module driver
* @{
*/
/* Private typedef -----------------------------------------------------------*/
/* Private define ------------------------------------------------------------*/
/* Private macro -------------------------------------------------------------*/
/* Private variables ---------------------------------------------------------*/
/* Private function prototypes -----------------------------------------------*/
/* Private functions ---------------------------------------------------------*/
/* Exported functions --------------------------------------------------------*/
/**
* @}
*/
/**
* @}
*/
/************************ (C) COPYRIGHT *****END OF FILE****/