摘要:
这篇讲的蛮好的 https://www.zhihu.com/question/38279574 阅读全文
摘要:
二值信号量 SemaphoreHandle_t sem_handle; sem_handle = xSemaphoreCreateBinary(); static void send_Task(void* pvParameters) { while(1) { xSemaphoreGive(sem_h 阅读全文
摘要:
EventGroupHandle_t ev_handle; ev_handle = xEventGroupCreate(); static void send_Task(void* pvParameters) { while(1) { xEventGroupSetBits(ev_handle, 1) 阅读全文
摘要:
仅作记录 QueueHandle_t q_handle; q_handle = xQueueCreate(5, 1); static void send_Task(void* pvParameters) { uint8_t datat = 8; while(1) { BaseType_t xRetu 阅读全文