#[repr(transparent)]pub struct SmwSettingOption1(pub u32);Expand description
SMW Setting Option 1 Register
Tuple Fields§
§0: u32Implementations§
Source§impl SmwSettingOption1
impl SmwSettingOption1
Sourcepub const fn ters_ctrl0(&self) -> TersCtrl0
pub const fn ters_ctrl0(&self) -> TersCtrl0
Ters Control
Sourcepub const fn set_ters_ctrl0(&mut self, val: TersCtrl0)
pub const fn set_ters_ctrl0(&mut self, val: TersCtrl0)
Ters Control
Sourcepub const fn set_tpgm_ctrl(&mut self, val: TpgmCtrl)
pub const fn set_tpgm_ctrl(&mut self, val: TpgmCtrl)
Tpgm Control
Sourcepub const fn set_tnvs_ctrl(&mut self, val: TnvsCtrl)
pub const fn set_tnvs_ctrl(&mut self, val: TnvsCtrl)
Tnvs Control
Sourcepub const fn set_tnvh_ctrl(&mut self, val: TnvhCtrl)
pub const fn set_tnvh_ctrl(&mut self, val: TnvhCtrl)
Tnvh Control
Sourcepub const fn set_tpgs_ctrl(&mut self, val: TpgsCtrl)
pub const fn set_tpgs_ctrl(&mut self, val: TpgsCtrl)
Tpgs Control
Sourcepub const fn set_max_erase(&mut self, val: u16)
pub const fn set_max_erase(&mut self, val: u16)
Number of Erase Shots
Sourcepub const fn set_max_prog(&mut self, val: u8)
pub const fn set_max_prog(&mut self, val: u8)
Number of Program Shots
Trait Implementations§
Source§impl Clone for SmwSettingOption1
impl Clone for SmwSettingOption1
Source§fn clone(&self) -> SmwSettingOption1
fn clone(&self) -> SmwSettingOption1
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for SmwSettingOption1
impl Debug for SmwSettingOption1
Source§impl Default for SmwSettingOption1
impl Default for SmwSettingOption1
Source§fn default() -> SmwSettingOption1
fn default() -> SmwSettingOption1
Returns the “default value” for a type. Read more
Source§impl PartialEq for SmwSettingOption1
impl PartialEq for SmwSettingOption1
impl Copy for SmwSettingOption1
impl Eq for SmwSettingOption1
impl StructuralPartialEq for SmwSettingOption1
Auto Trait Implementations§
impl Freeze for SmwSettingOption1
impl RefUnwindSafe for SmwSettingOption1
impl Send for SmwSettingOption1
impl Sync for SmwSettingOption1
impl Unpin for SmwSettingOption1
impl UnwindSafe for SmwSettingOption1
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