Function esp_idf_svc::hal::sys::xPortInterruptedFromISRContext

source ยท
pub unsafe extern "C" fn xPortInterruptedFromISRContext() -> i32
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