Struct stm32ral::UnsafeRORegister [−][src]
pub struct UnsafeRORegister<T> { /* fields omitted */ }
Expand description
A read-only register of type T, where read access is unsafe.
Contains one value of type T and provides a volatile read function to it.
Safety
This register should be used where reads to this peripheral may invoke undefined behaviour or memory unsafety.
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.