#[repr(transparent)]pub struct Sm2tctrl(pub u16);Expand description
Output Trigger Control Register
Tuple Fields§
§0: u16Implementations§
Source§impl Sm2tctrl
impl Sm2tctrl
Sourcepub const fn out_trig_en(&self) -> Sm2tctrlOutTrigEn
pub const fn out_trig_en(&self) -> Sm2tctrlOutTrigEn
Output Trigger Enables
Sourcepub const fn set_out_trig_en(&mut self, val: Sm2tctrlOutTrigEn)
pub const fn set_out_trig_en(&mut self, val: Sm2tctrlOutTrigEn)
Output Trigger Enables
Sourcepub const fn trgfrq(&self) -> Sm2tctrlTrgfrq
pub const fn trgfrq(&self) -> Sm2tctrlTrgfrq
Trigger Frequency
Sourcepub const fn set_trgfrq(&mut self, val: Sm2tctrlTrgfrq)
pub const fn set_trgfrq(&mut self, val: Sm2tctrlTrgfrq)
Trigger Frequency
Sourcepub const fn pwbot1(&self) -> Sm2tctrlPwbot1
pub const fn pwbot1(&self) -> Sm2tctrlPwbot1
Mux Output Trigger 1 Source Select
Sourcepub const fn set_pwbot1(&mut self, val: Sm2tctrlPwbot1)
pub const fn set_pwbot1(&mut self, val: Sm2tctrlPwbot1)
Mux Output Trigger 1 Source Select
Sourcepub const fn pwaot0(&self) -> Sm2tctrlPwaot0
pub const fn pwaot0(&self) -> Sm2tctrlPwaot0
Mux Output Trigger 0 Source Select
Sourcepub const fn set_pwaot0(&mut self, val: Sm2tctrlPwaot0)
pub const fn set_pwaot0(&mut self, val: Sm2tctrlPwaot0)
Mux Output Trigger 0 Source Select
Trait Implementations§
impl Copy for Sm2tctrl
impl Eq for Sm2tctrl
impl StructuralPartialEq for Sm2tctrl
Auto Trait Implementations§
impl Freeze for Sm2tctrl
impl RefUnwindSafe for Sm2tctrl
impl Send for Sm2tctrl
impl Sync for Sm2tctrl
impl Unpin for Sm2tctrl
impl UnwindSafe for Sm2tctrl
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