Macro stm32_hal2::access_global [−][src]
Syntax helper for getting global variables of the form Mutex<RefCell<Option>>>
from an interrupt-free
context - eg in interrupt handlers.
Example: access_global!(DELAY, delay, cs)
Syntax helper for getting global variables of the form Mutex<RefCell<Option>>>
from an interrupt-free
context - eg in interrupt handlers.
Example: access_global!(DELAY, delay, cs)