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