Type Alias shared_bus::BusManagerCortexM
source · pub type BusManagerCortexM<BUS> = BusManager<CortexMMutex<BUS>>;
Expand description
A bus manager for safely sharing between tasks on Cortex-M.
This manager works by turning off interrupts for each bus transaction which prevents racy
accesses from different tasks/execution contexts (e.g. interrupts). Usually, for sharing
between tasks, a manager with 'static
lifetime is needed which can be created using the
shared_bus::new_cortexm!()
macro.
This type is only available with the cortex-m
feature.
Aliased Type§
struct BusManagerCortexM<BUS> { /* private fields */ }