Struct stm32_metapac::rcc::regs::Ccipr4
#[repr(transparent)]pub struct Ccipr4(pub u32);
Expand description
RCC kernel clock configuration register
Tuple Fields§
§0: u32
Implementations§
§impl Ccipr4
impl Ccipr4
pub const fn systicksel(&self) -> Systicksel
pub const fn systicksel(&self) -> Systicksel
SYSTICK clock source selection Note: rcc_hclk frequency must be four times higher than lsi_ker_ck/lse_ck (period (LSI/LSE) ≥ 4 * period (HCLK).
pub fn set_systicksel(&mut self, val: Systicksel)
pub fn set_systicksel(&mut self, val: Systicksel)
SYSTICK clock source selection Note: rcc_hclk frequency must be four times higher than lsi_ker_ck/lse_ck (period (LSI/LSE) ≥ 4 * period (HCLK).
pub fn set_usbsel(&mut self, val: Usbsel)
pub fn set_usbsel(&mut self, val: Usbsel)
USB kernel clock source selection
pub fn set_i2c1sel(&mut self, val: I2csel)
pub fn set_i2c1sel(&mut self, val: I2csel)
I2C1 kernel clock source selection
pub fn set_i2c2sel(&mut self, val: I2csel)
pub fn set_i2c2sel(&mut self, val: I2csel)
I2C2 kernel clock source selection
pub fn set_i3c1sel(&mut self, val: I2csel)
pub fn set_i3c1sel(&mut self, val: I2csel)
I3C1 kernel clock source selection
pub fn set_i3c2sel(&mut self, val: I3c2sel)
pub fn set_i3c2sel(&mut self, val: I3c2sel)
I3C2 kernel clock source selection
Trait Implementations§
impl Copy for Ccipr4
impl Eq for Ccipr4
impl StructuralPartialEq for Ccipr4
Auto Trait Implementations§
impl Freeze for Ccipr4
impl RefUnwindSafe for Ccipr4
impl Send for Ccipr4
impl Sync for Ccipr4
impl Unpin for Ccipr4
impl UnwindSafe for Ccipr4
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)