#[repr(transparent)]pub struct Cbcdr(pub u32);Expand description
CCM Bus Clock Divider Register
Tuple Fields§
§0: u32Implementations§
Source§impl Cbcdr
impl Cbcdr
Sourcepub const fn semc_clk_sel(&self) -> SemcClkSel
pub const fn semc_clk_sel(&self) -> SemcClkSel
SEMC clock source select
Sourcepub const fn set_semc_clk_sel(&mut self, val: SemcClkSel)
pub const fn set_semc_clk_sel(&mut self, val: SemcClkSel)
SEMC clock source select
Sourcepub const fn semc_alt_clk_sel(&self) -> SemcAltClkSel
pub const fn semc_alt_clk_sel(&self) -> SemcAltClkSel
SEMC alternative clock select
Sourcepub const fn set_semc_alt_clk_sel(&mut self, val: SemcAltClkSel)
pub const fn set_semc_alt_clk_sel(&mut self, val: SemcAltClkSel)
SEMC alternative clock select
Sourcepub const fn set_ipg_podf(&mut self, val: IpgPodf)
pub const fn set_ipg_podf(&mut self, val: IpgPodf)
Divider for ipg podf.
Sourcepub const fn set_ahb_podf(&mut self, val: AhbPodf)
pub const fn set_ahb_podf(&mut self, val: AhbPodf)
Divider for AHB PODF
Sourcepub const fn set_semc_podf(&mut self, val: SemcPodf)
pub const fn set_semc_podf(&mut self, val: SemcPodf)
Post divider for SEMC clock
Sourcepub const fn periph_clk_sel(&self) -> PeriphClkSel
pub const fn periph_clk_sel(&self) -> PeriphClkSel
Selector for peripheral main clock
Sourcepub const fn set_periph_clk_sel(&mut self, val: PeriphClkSel)
pub const fn set_periph_clk_sel(&mut self, val: PeriphClkSel)
Selector for peripheral main clock
Sourcepub const fn periph_clk2_podf(&self) -> PeriphClk2Podf
pub const fn periph_clk2_podf(&self) -> PeriphClk2Podf
Divider for periph_clk2_podf.
Sourcepub const fn set_periph_clk2_podf(&mut self, val: PeriphClk2Podf)
pub const fn set_periph_clk2_podf(&mut self, val: PeriphClk2Podf)
Divider for periph_clk2_podf.
Trait Implementations§
impl Copy for Cbcdr
impl Eq for Cbcdr
impl StructuralPartialEq for Cbcdr
Auto Trait Implementations§
impl Freeze for Cbcdr
impl RefUnwindSafe for Cbcdr
impl Send for Cbcdr
impl Sync for Cbcdr
impl Unpin for Cbcdr
impl UnwindSafe for Cbcdr
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