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