Struct stm32f407g_disc::interrupt::CriticalSection
pub struct CriticalSection { /* private fields */ }
Expand description
Critical section token
Indicates that you are executing code within a critical section
Implementations§
§impl CriticalSection
impl CriticalSection
pub unsafe fn new() -> CriticalSection
pub unsafe fn new() -> CriticalSection
Creates a critical section token
This method is meant to be used to create safe abstractions rather than meant to be directly used in applications.