花了近2小时,仔细看了下3.00的CHM固件库,确实越来越专业化了,查找东西更快了。
和2.03的固件库比,实在想不通那些注解怎么换成这样子,个人感觉2.03的固件库注解给人一目了然,而3.00的则没那么好看。示例如下:
3.00的 ADC_DeInit前面的注解:
00169 /** @defgroup ADC_Private_Functions
00170 * @{
00171 */
00172
00173 /**
00174 * @brief Deinitializes the ADCx peripheral registers to their default
00175 * reset values.
00176 * @param ADCx: where x can be 1, 2 or 3 to select the ADC peripheral.
00177 * @retval : None
00178 */
00179 void ADC_DeInit(ADC_TypeDef* ADCx)
2.03的前面的注解:
/*******************************************************************************
* Function Name : ADC_DeInit
* Description : Deinitializes the ADCx peripheral registers to their default
* reset values.
* Input : - ADCx: where x can be 1, 2 or 3 to select the ADC peripheral.
* Output : None
* Return : None
*******************************************************************************/
void ADC_DeInit(ADC_TypeDef* ADCx)
个人还是喜欢2.03的注解款式。
|