freeRTOS 任务状态切换
eTaskGetState 获取状态
printf("status %zd\n", osThreadGetState(osThreadGetId()));
osThreadSuspend 挂起
osThreadSuspend(osThreadGetId());
标签:osThreadGetId,状态,freeRTOS,17,osThreadSuspend,切换
From: https://www.cnblogs.com/mzx233/p/17714294.html