Function esp_idf_sys::xTaskGetTickCountFromISR

source ยท
pub unsafe extern "C" fn xTaskGetTickCountFromISR() -> TickType_t
Expand description

@cond !DOC_EXCLUDE_HEADER_SECTION task. h @code{c} TickType_t xTaskGetTickCountFromISR( void ); @endcode @endcond

@return The count of ticks since vTaskStartScheduler was called.

This is a version of xTaskGetTickCount() that is safe to be called from an ISR - provided that TickType_t is the natural word size of the microcontroller being used or interrupt nesting is either not supported or not being used.

@cond !DOC_SINGLE_GROUP \defgroup xTaskGetTickCountFromISR xTaskGetTickCountFromISR @endcond \ingroup TaskUtils