Struct esp_idf_hal::interrupt::IsrCriticalSectionGuard
source · pub struct IsrCriticalSectionGuard<'a>(/* private fields */);
Trait Implementations§
source§impl<'a> Drop for IsrCriticalSectionGuard<'a>
impl<'a> Drop for IsrCriticalSectionGuard<'a>
source§#[link_section = ".iram1.interrupt_csg_drop"]fn drop(&mut self)
#[link_section = ".iram1.interrupt_csg_drop"]fn drop(&mut self)
Drops the critical section guard thus potentially re-enabling al interrupts for the currently active core.
Note that - due to the fact that calling IsrCriticalSection::enter
multiple times on the same or multiple critical sections is supported -
interrupts for the core will be re-enabled only when the last guard that
disabled interrupts for the concrete core is dropped.