Function esp_idf_sys::vPortExitCritical

source ยท
pub unsafe extern "C" fn vPortExitCritical(mux: *mut portMUX_TYPE)
Expand description

@brief Exit a SMP critical section

This function can be called in a nested manner. On the outer most level of nesting, this function will:

  • Release the spinlock
  • Restore the previous interrupt level before the critical section was entered

If still nesting, this function simply decrements a critical nesting count

@note This function is made non-inline on purpose to reduce code size @param[in] mux Spinlock