#[repr(transparent)]pub struct SmwSettingOption2(pub u32);Expand description
SMW Setting Option 2 Register
Tuple Fields§
§0: u32Implementations§
Source§impl SmwSettingOption2
impl SmwSettingOption2
Sourcepub const fn set_thvs_ctrl(&mut self, val: u8)
pub const fn set_thvs_ctrl(&mut self, val: u8)
Thvs control
Sourcepub const fn set_trcv_ctrl(&mut self, val: u8)
pub const fn set_trcv_ctrl(&mut self, val: u8)
Trcv Control
Sourcepub const fn set_xtra_ers(&mut self, val: u8)
pub const fn set_xtra_ers(&mut self, val: u8)
Number of Post Shots for SME
Sourcepub const fn set_xtra_pgm(&mut self, val: u8)
pub const fn set_xtra_pgm(&mut self, val: u8)
Number of Post Shots for SMP
Sourcepub const fn set_whv_cntr(&mut self, val: u8)
pub const fn set_whv_cntr(&mut self, val: u8)
WHV Counter
Sourcepub const fn set_post_ters(&mut self, val: PostTers)
pub const fn set_post_ters(&mut self, val: PostTers)
Post Ters Time
Sourcepub const fn set_post_tpgm(&mut self, val: PostTpgm)
pub const fn set_post_tpgm(&mut self, val: PostTpgm)
Post Tpgm Time
Sourcepub const fn set_vfy_opt(&mut self, val: VfyOpt)
pub const fn set_vfy_opt(&mut self, val: VfyOpt)
Verify Option
Sourcepub const fn set_tpgm_opt(&mut self, val: TpgmOpt)
pub const fn set_tpgm_opt(&mut self, val: TpgmOpt)
Tpgm Option
Sourcepub const fn set_mask0_opt(&mut self, val: Mask0Opt)
pub const fn set_mask0_opt(&mut self, val: Mask0Opt)
MASK0_OPT
Sourcepub const fn set_dis_prer(&mut self, val: DisPrer)
pub const fn set_dis_prer(&mut self, val: DisPrer)
Disable pre-PV Read before First Program Shot
Trait Implementations§
Source§impl Clone for SmwSettingOption2
impl Clone for SmwSettingOption2
Source§fn clone(&self) -> SmwSettingOption2
fn clone(&self) -> SmwSettingOption2
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 SmwSettingOption2
impl Debug for SmwSettingOption2
Source§impl Default for SmwSettingOption2
impl Default for SmwSettingOption2
Source§fn default() -> SmwSettingOption2
fn default() -> SmwSettingOption2
Returns the “default value” for a type. Read more
Source§impl PartialEq for SmwSettingOption2
impl PartialEq for SmwSettingOption2
impl Copy for SmwSettingOption2
impl Eq for SmwSettingOption2
impl StructuralPartialEq for SmwSettingOption2
Auto Trait Implementations§
impl Freeze for SmwSettingOption2
impl RefUnwindSafe for SmwSettingOption2
impl Send for SmwSettingOption2
impl Sync for SmwSettingOption2
impl Unpin for SmwSettingOption2
impl UnwindSafe for SmwSettingOption2
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