FreeRTOS
学者_
电子爱好者
展开
-
链表与数组的对比
原创 2021-04-14 12:39:21 · 78 阅读 · 0 评论 -
FreeRTOS编程风格
1、数据类型 数据类型在portmacro.h中重定义。 portCHAR:char,前缀c portSHORT:short,16位,前缀s portLONG:long,32位,前缀l portTickType:unsigned shortint或unsigned int portBASE_TYPE:long,根据处理器架构决定多少位,,前缀x 无符号前缀u,指针变量前缀p。 2、函数与宏定义 函数名:返回值+所在文件名+函数功能 宏:前缀代表该宏在哪个头文件定义。 ...原创 2021-04-14 12:02:32 · 119 阅读 · 0 评论