#[repr(transparent)]pub struct Mctrl2(pub u16);Expand description
Master Control 2 Register
Tuple Fields§
§0: u16Implementations§
Source§impl Mctrl2
impl Mctrl2
Sourcepub const fn set_wrprot(&mut self, val: Wrprot)
pub const fn set_wrprot(&mut self, val: Wrprot)
Write protect
Sourcepub const fn stretch_cnt_prsc(&self) -> StretchCntPrsc
pub const fn stretch_cnt_prsc(&self) -> StretchCntPrsc
Stretch IPBus clock count prescaler for mux0_trig/mux1_trig/out0_trig/out1_trig/pwma_trig/pwmb_trig
Sourcepub const fn set_stretch_cnt_prsc(&mut self, val: StretchCntPrsc)
pub const fn set_stretch_cnt_prsc(&mut self, val: StretchCntPrsc)
Stretch IPBus clock count prescaler for mux0_trig/mux1_trig/out0_trig/out1_trig/pwma_trig/pwmb_trig
Trait Implementations§
impl Copy for Mctrl2
impl Eq for Mctrl2
impl StructuralPartialEq for Mctrl2
Auto Trait Implementations§
impl Freeze for Mctrl2
impl RefUnwindSafe for Mctrl2
impl Send for Mctrl2
impl Sync for Mctrl2
impl Unpin for Mctrl2
impl UnwindSafe for Mctrl2
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