哪位大神能帮我把这个程序注释一下,我只知道程序运行结果!/* Includes ------------------------------------------------------------------*/#include "stm32f10x_lib.h"/* Private typedef ---------------------------------------------

来源:学生作业帮助网 编辑:作业帮 时间:2024/11/17 08:48:34
哪位大神能帮我把这个程序注释一下,我只知道程序运行结果!/* Includes ------------------------------------------------------------------*/#include
xToPW]p8$Y*ɈR&6[1&Α6qh%Am'O <,,}:9woOPJo5K;W4KrU_]T?Y+'Fg=e67r+ۃmpŨ3b:d<27L ̓kKY!5sbX(Ce8|f.||=pAGq9C9O8QɡG7w"  q7rQ˓8a;+'Ǧ4_@ ,Tv}D$&$"KDr9 t7^ K"/S0^rҗ~.>2DQQ onG"N& |v&ȡ?C1.ZMN7w 7wtke [̸]fK7ׇ3Ӱ=Z쯟AͷҭATmmzUV4w; z1in-[6)V9LĒ xтHxO\ަjip}G* ۗ&&bݿ-?RUa2+}

哪位大神能帮我把这个程序注释一下,我只知道程序运行结果!/* Includes ------------------------------------------------------------------*/#include "stm32f10x_lib.h"/* Private typedef ---------------------------------------------
哪位大神能帮我把这个程序注释一下,我只知道程序运行结果!
/* Includes ------------------------------------------------------------------*/
#include "stm32f10x_lib.h"
/* Private typedef -----------------------------------------------------------*/
typedef enum {FAILED = 0,PASSED = FAILED} TestStatus;
/* Private macro -------------------------------------------------------------*/
/* Private variables ---------------------------------------------------------*/
ErrorStatus HSEStartUpStatus;
/* Private function prototypes -----------------------------------------------*/
void RCC_Configuration(void);
void GPIO_Configuration(void);
/* Private functions ---------------------------------------------------------*/
GPIO_InitTypeDef GPIO_InitStructure;
//

哪位大神能帮我把这个程序注释一下,我只知道程序运行结果!/* Includes ------------------------------------------------------------------*/#include "stm32f10x_lib.h"/* Private typedef ---------------------------------------------
这些是各种声明和函数的声明的说明.
每一条注释是一个类别,下边写的是这个类别的东西,就是为了规整的.
就比如,我现在要加一条宏#define OUTPUT printf
我就可以把它加到Private macro的下边,如下:
/* Private typedef -----------------------------------------------------------*/
typedef enum {FAILED = 0,PASSED = !FAILED} TestStatus;
/* Private macro -------------------------------------------------------------*/
#define OUTPUT printf //我新加的语句
/* Private variables ---------------------------------------------------------*/
ErrorStatus HSEStartUpStatus;
/* Private function prototypes -----------------------------------------------*/
void RCC_Configuration(void);
void GPIO_Configuration(void);