Type Definition shared_bus::CortexMMutex[][src]

type CortexMMutex<T> = Mutex<RefCell<T>>;

Alias for a Cortex-M mutex.

Based on cortex_m::interrupt::Mutex. This mutex works by disabling interrupts while the mutex is locked.

This type is only available with the cortex-m feature.

Trait Implementations

impl<T> BusMutex for CortexMMutex<T>[src]

type Bus = T

The actual bus that is wrapped inside this mutex.