Function esp_idf_sys::xPortInterruptedFromISRContext

source ยท
pub unsafe extern "C" fn xPortInterruptedFromISRContext() -> BaseType_t
Expand description

@brief Check if in ISR context from High priority ISRs

  • Called from High priority ISR
  • Checks if the previous context (before high priority interrupt) was in ISR context (meaning low/med priority)

@note [refactor-todo] Check if this should be inlined @return

  • pdTRUE if in previous in ISR context
  • pdFALSE otherwise