Macro stm32_hal2::make_simple_globals [−][src]
Syntax helper for setting global variables of the form Mutex<Cell<>>>
.
eg in interrupt handlers. Ideal for copy-type variables.
Example: make_simple_globals!( (VALUE, f32, 2.), (SETTING, Setting, Setting::A), )