#[repr(transparent)]pub struct Remap(pub u32);Expand description
Data remap. Do not use read-modify-write: writes use command keys in the lower halfword. Write 0xNNNNA5A5 to update LIMDP, 0xNNNN5A5A to update LIM, or 0xXXXXC3C3 to lock until reset. Other writes are ignored.
Tuple Fields§
§0: u32Implementations§
Source§impl Remap
impl Remap
Sourcepub const fn remaplk(&self) -> bool
pub const fn remaplk(&self) -> bool
Sticky remap lock status. Set by writing the 0xC3C3 command key.
Sourcepub const fn set_remaplk(&mut self, val: bool)
pub const fn set_remaplk(&mut self, val: bool)
Sticky remap lock status. Set by writing the 0xC3C3 command key.
Trait Implementations§
impl Copy for Remap
impl Eq for Remap
impl StructuralPartialEq for Remap
Auto Trait Implementations§
impl Freeze for Remap
impl RefUnwindSafe for Remap
impl Send for Remap
impl Sync for Remap
impl Unpin for Remap
impl UnwindSafe for Remap
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