xSemaphoreTake
xSemaphoreTake
创建同名条目
条目
编辑
用于获取信号量的宏。信号量必须已经通过调用vSemaphoreCreateBinary(), xSemaphoreCreateMutex() 或 xSemaphoreCreateCounting()来创建。这个宏不能在服务中断程序中调用。
正文
FreeRTOS
函数
semphr. h
xsemaphoreTake(