#[repr(transparent)]pub struct Smtctrl(pub u16);Expand description
Output Trigger Control Register
Tuple Fields§
§0: u16Implementations§
Source§impl Smtctrl
impl Smtctrl
Sourcepub const fn out_trig_en(&self) -> OutTrigEn
pub const fn out_trig_en(&self) -> OutTrigEn
Output Trigger Enables
Sourcepub const fn set_out_trig_en(&mut self, val: OutTrigEn)
pub const fn set_out_trig_en(&mut self, val: OutTrigEn)
Output Trigger Enables
Sourcepub const fn set_trgfrq(&mut self, val: Trgfrq)
pub const fn set_trgfrq(&mut self, val: Trgfrq)
Trigger frequency
Sourcepub const fn set_pwbot1(&mut self, val: Pwbot1)
pub const fn set_pwbot1(&mut self, val: Pwbot1)
Output Trigger 1 Source Select
Sourcepub const fn set_pwaot0(&mut self, val: Pwaot0)
pub const fn set_pwaot0(&mut self, val: Pwaot0)
Output Trigger 0 Source Select
Trait Implementations§
impl Copy for Smtctrl
impl Eq for Smtctrl
impl StructuralPartialEq for Smtctrl
Auto Trait Implementations§
impl Freeze for Smtctrl
impl RefUnwindSafe for Smtctrl
impl Send for Smtctrl
impl Sync for Smtctrl
impl Unpin for Smtctrl
impl UnwindSafe for Smtctrl
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