Struct esp_idf_hal::interrupt::IsrCriticalSectionGuard
source · pub struct IsrCriticalSectionGuard<'a>(_);
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.
Auto Trait Implementations§
impl<'a> RefUnwindSafe for IsrCriticalSectionGuard<'a>
impl<'a> Send for IsrCriticalSectionGuard<'a>
impl<'a> Sync for IsrCriticalSectionGuard<'a>
impl<'a> Unpin for IsrCriticalSectionGuard<'a>
impl<'a> UnwindSafe for IsrCriticalSectionGuard<'a>
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more