Struct stm32ral::WORegister
source · [−]pub struct WORegister<T> { /* private fields */ }
Expand description
A write-only register of type T.
Contains one value of type T and provides a volatile write function to it.
Safety
This register should be used where writes to this peripheral register do not lead to 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.
Implementations
sourceimpl<T: Copy> WORegister<T>
impl<T: Copy> WORegister<T>
Auto Trait Implementations
impl<T> !RefUnwindSafe for WORegister<T>
impl<T> Send for WORegister<T> where
T: Send,
impl<T> !Sync for WORegister<T>
impl<T> Unpin for WORegister<T> where
T: Unpin,
impl<T> UnwindSafe for WORegister<T> where
T: UnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more