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