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