#[repr(transparent)]pub struct Ctrl1(pub u32);Tuple Fields§
§0: u32Implementations§
Source§impl Ctrl1
impl Ctrl1
Sourcepub const fn read_index(&self) -> u8
pub const fn read_index(&self) -> u8
Index whose lock status is returned in STATUS.
Sourcepub const fn set_read_index(&mut self, val: u8)
pub const fn set_read_index(&mut self, val: u8)
Index whose lock status is returned in STATUS.
Sourcepub const fn wr_en_1(&self) -> u8
pub const fn wr_en_1(&self) -> u8
FSM sequence value. Use with CTRL_0.WR_EN_0 in the documented sequence.
Sourcepub const fn set_wr_en_1(&mut self, val: u8)
pub const fn set_wr_en_1(&mut self, val: u8)
FSM sequence value. Use with CTRL_0.WR_EN_0 in the documented sequence.
Sourcepub const fn sfr_lock(&self) -> SfrLock
pub const fn sfr_lock(&self) -> SfrLock
Write 0x5 to lock GLIKEY until hardware reset; 0xA indicates unlocked.
Sourcepub const fn set_sfr_lock(&mut self, val: SfrLock)
pub const fn set_sfr_lock(&mut self, val: SfrLock)
Write 0x5 to lock GLIKEY until hardware reset; 0xA indicates unlocked.
Trait Implementations§
impl Copy for Ctrl1
impl Eq for Ctrl1
impl StructuralPartialEq for Ctrl1
Auto Trait Implementations§
impl Freeze for Ctrl1
impl RefUnwindSafe for Ctrl1
impl Send for Ctrl1
impl Sync for Ctrl1
impl Unpin for Ctrl1
impl UnwindSafe for Ctrl1
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