#[repr(transparent)]pub struct Clkcfg(pub u32);Expand description
Clock Configuration
Tuple Fields§
§0: u32Implementations§
Source§impl Clkcfg
impl Clkcfg
Sourcepub const fn set_clk_prsc(&mut self, val: u8)
pub const fn set_clk_prsc(&mut self, val: u8)
Clock Prescaler Value
Sourcepub const fn gpcnt1_clk_sel(&self) -> Gpcnt1ClkSel
pub const fn gpcnt1_clk_sel(&self) -> Gpcnt1ClkSel
General Purpose Counter 1 Clock Select
Sourcepub const fn set_gpcnt1_clk_sel(&mut self, val: Gpcnt1ClkSel)
pub const fn set_gpcnt1_clk_sel(&mut self, val: Gpcnt1ClkSel)
General Purpose Counter 1 Clock Select
Sourcepub const fn gpcnt0_clk_sel(&self) -> Gpcnt0ClkSel
pub const fn gpcnt0_clk_sel(&self) -> Gpcnt0ClkSel
General Purpose Counter 0 Clock Select
Sourcepub const fn set_gpcnt0_clk_sel(&mut self, val: Gpcnt0ClkSel)
pub const fn set_gpcnt0_clk_sel(&mut self, val: Gpcnt0ClkSel)
General Purpose Counter 0 Clock Select
Trait Implementations§
impl Copy for Clkcfg
impl Eq for Clkcfg
impl StructuralPartialEq for Clkcfg
Auto Trait Implementations§
impl Freeze for Clkcfg
impl RefUnwindSafe for Clkcfg
impl Send for Clkcfg
impl Sync for Clkcfg
impl Unpin for Clkcfg
impl UnwindSafe for Clkcfg
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