#[repr(transparent)]pub struct Csctrl3(pub u16);Expand description
Timer Channel Comparator Status and Control Register
Tuple Fields§
§0: u16Implementations§
Source§impl Csctrl3
impl Csctrl3
Sourcepub const fn cl1(&self) -> Csctrl3Cl1
pub const fn cl1(&self) -> Csctrl3Cl1
Compare Load Control 1
Sourcepub const fn set_cl1(&mut self, val: Csctrl3Cl1)
pub const fn set_cl1(&mut self, val: Csctrl3Cl1)
Compare Load Control 1
Sourcepub const fn cl2(&self) -> Csctrl3Cl2
pub const fn cl2(&self) -> Csctrl3Cl2
Compare Load Control 2
Sourcepub const fn set_cl2(&mut self, val: Csctrl3Cl2)
pub const fn set_cl2(&mut self, val: Csctrl3Cl2)
Compare Load Control 2
Sourcepub const fn set_tcf1en(&mut self, val: bool)
pub const fn set_tcf1en(&mut self, val: bool)
Timer Compare 1 Interrupt Enable
Sourcepub const fn set_tcf2en(&mut self, val: bool)
pub const fn set_tcf2en(&mut self, val: bool)
Timer Compare 2 Interrupt Enable
Sourcepub const fn tci(&self) -> Csctrl3Tci
pub const fn tci(&self) -> Csctrl3Tci
Triggered Count Initialization Control
Sourcepub const fn set_tci(&mut self, val: Csctrl3Tci)
pub const fn set_tci(&mut self, val: Csctrl3Tci)
Triggered Count Initialization Control
Sourcepub const fn set_alt_load(&mut self, val: bool)
pub const fn set_alt_load(&mut self, val: bool)
Alternative Load Enable
Sourcepub const fn dbg_en(&self) -> Csctrl3DbgEn
pub const fn dbg_en(&self) -> Csctrl3DbgEn
Debug Actions Enable
Sourcepub const fn set_dbg_en(&mut self, val: Csctrl3DbgEn)
pub const fn set_dbg_en(&mut self, val: Csctrl3DbgEn)
Debug Actions Enable
Trait Implementations§
impl Copy for Csctrl3
impl Eq for Csctrl3
impl StructuralPartialEq for Csctrl3
Auto Trait Implementations§
impl Freeze for Csctrl3
impl RefUnwindSafe for Csctrl3
impl Send for Csctrl3
impl Sync for Csctrl3
impl Unpin for Csctrl3
impl UnwindSafe for Csctrl3
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