#[repr(transparent)]pub struct Ctrl0(pub u32);Tuple Fields§
§0: u32Implementations§
Source§impl Ctrl0
impl Ctrl0
Sourcepub const fn write_index(&self) -> u8
pub const fn write_index(&self) -> u8
Target security-sensitive register index.
Sourcepub const fn set_write_index(&mut self, val: u8)
pub const fn set_write_index(&mut self, val: u8)
Target security-sensitive register index.
Sourcepub const fn wr_en_0(&self) -> u8
pub const fn wr_en_0(&self) -> u8
FSM sequence value. Use with CTRL_1.WR_EN_1 in the documented sequence.
Sourcepub const fn set_wr_en_0(&mut self, val: u8)
pub const fn set_wr_en_0(&mut self, val: u8)
FSM sequence value. Use with CTRL_1.WR_EN_1 in the documented sequence.
Sourcepub const fn sft_rst(&self) -> bool
pub const fn sft_rst(&self) -> bool
Reset the FSM; preserves SFR_LOCK and locked indexes. Reads as zero.
Sourcepub const fn set_sft_rst(&mut self, val: bool)
pub const fn set_sft_rst(&mut self, val: bool)
Reset the FSM; preserves SFR_LOCK and locked indexes. Reads as zero.
Trait Implementations§
impl Copy for Ctrl0
impl Eq for Ctrl0
impl StructuralPartialEq for Ctrl0
Auto Trait Implementations§
impl Freeze for Ctrl0
impl RefUnwindSafe for Ctrl0
impl Send for Ctrl0
impl Sync for Ctrl0
impl Unpin for Ctrl0
impl UnwindSafe for Ctrl0
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