目录
一、队列的理论介绍
1.1 队列相关函数的解释
1.创建队列函数
xQueueCreate( uxQueueLength, uxItemSize )
* @param uxQueueLength The maximum number of items that the queue can contain.
* @param uxItemSize The number of bytes each item in the queue will require.
* @return If the queue is successfully create then a handle to the newly
* created queue is returned. If the queue cannot be created then 0 is
* returned.
QueueHandle_t xQueueCreate(
UBaseType_t uxQueueLength,
UBaseType_t uxItemSize
);
/*第一个参数是队列长度;第二