Struct bare_metal::CriticalSection [] [src]

pub struct CriticalSection { /* fields omitted */ }

Critical section token

Indicates that you are executing code within a critical section

Methods

impl CriticalSection
[src]

[src]

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.