- 博客(3)
- 资源 (7)
- 收藏
- 关注
原创 FreeModbus
mbframe.hConstants which defines the format of a modbus frame.The example is shown for a Modbus RTU/ASCII frame.Note that the Modbus PDU is not dependent on the underlying transport.协议栈定义#define MB_PDU_SIZE_MAX 253 /*!< Maximum size of a PDU. */#
2022-04-18 17:17:18 761
原创 FreeRTOS Queue
变量定义typedef void *QueueHandle_t; // Type by which queues are referenced. typedef void *QueueSetHandle_t; // Type by which queue sets are referenced.typedef void *QueueSetMemberHandle_t; /* For internal use only. */#define queueSEND_TO_BACK ((BaseTy
2022-04-15 17:32:06 385
原创 FreeRTOS 创建静态任务
FreeRTOS 创建静态任务范例:使用 xTaskCreateStatic 静态创建任务 // Dimensions the buffer that the task being created will use as its stack. #define STACK_SIZE 200 // Structure that will hold the TCB of the task being created. StaticTask_t xTaskBuffer; // Buffer that
2022-04-15 16:06:02 465
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人