Struct stm32ral::UnsafeRWRegister [−][src]
pub struct UnsafeRWRegister<T> { /* fields omitted */ }
Expand description
A read-write register of type T, where read/write access is unsafe.
Contains one value of type T and provides volatile read/write functions to it.
Safety
This register should be used where reads and writes to this peripheral may invoke undefined behaviour or memory unsafety. For example, any registers you write a memory address into.
Access to this register must be synchronised; if multiple threads (or the main thread and an interrupt service routine) are accessing it simultaneously you may encounter data races.