Function esp_idf_hal::sys::xTaskGetIdleTaskHandleForCPU
source ยท pub unsafe extern "C" fn xTaskGetIdleTaskHandleForCPU(
cpuid: u32,
) -> *mut tskTaskControlBlock
Expand description
Get the handle of idle task for the given CPU.
xTaskGetIdleTaskHandleForCPU() is only available if INCLUDE_xTaskGetIdleTaskHandle is set to 1 in FreeRTOSConfig.h.
@param cpuid The CPU to get the handle for
@return Idle task handle of a given cpu. It is not valid to call xTaskGetIdleTaskHandleForCPU() before the scheduler has been started.