Struct esp_idf_svc::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§fn drop(&mut self)
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.