Type Alias esp_idf_svc::sys::timer_isr_t
source · pub type timer_isr_t = Option<unsafe extern "C" fn(_: *mut c_void) -> bool>;
Expand description
@brief Interrupt handler callback function
@return - True Do task yield at the end of ISR - False Not do task yield at the end of ISR
@note If you called FreeRTOS functions in callback, you need to return true or false based on
the retrun value of argument pxHigherPriorityTaskWoken
.
For example, xQueueSendFromISR
is called in callback, if the return value pxHigherPriorityTaskWoken
of any FreeRTOS calls is pdTRUE, return true; otherwise return false.
Aliased Type§
enum timer_isr_t {
None,
Some(unsafe extern "C" fn(_: *mut c_void) -> bool),
}