Struct imxrt_ral::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§
Auto Trait Implementations§
impl<T> !Freeze for WORegister<T>
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§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more