Struct stm32_metapac::rcc::regs::Ccipr
#[repr(transparent)]pub struct Ccipr(pub u32);
Expand description
Clock configuration register
Tuple Fields§
§0: u32
Implementations§
§impl Ccipr
impl Ccipr
pub fn set_usart1sel(&mut self, val: Usart1sel)
pub fn set_usart1sel(&mut self, val: Usart1sel)
USART1 clock source selection
pub fn set_usart2sel(&mut self, val: Uartsel)
pub fn set_usart2sel(&mut self, val: Uartsel)
USART2 clock source selection
pub const fn lpuart1sel(&self) -> Uartsel
pub const fn lpuart1sel(&self) -> Uartsel
LPUART1 clock source selection
pub fn set_lpuart1sel(&mut self, val: Uartsel)
pub fn set_lpuart1sel(&mut self, val: Uartsel)
LPUART1 clock source selection
pub fn set_i2c1sel(&mut self, val: I2csel)
pub fn set_i2c1sel(&mut self, val: I2csel)
I2C1 clock source selection
pub fn set_i2c3sel(&mut self, val: I2csel)
pub fn set_i2c3sel(&mut self, val: I2csel)
I2C3 clock source selection
pub fn set_lptim1sel(&mut self, val: Lptimsel)
pub fn set_lptim1sel(&mut self, val: Lptimsel)
Low Power Timer clock source selection
Trait Implementations§
impl Copy for Ccipr
impl Eq for Ccipr
impl StructuralPartialEq for Ccipr
Auto Trait Implementations§
impl Freeze for Ccipr
impl RefUnwindSafe for Ccipr
impl Send for Ccipr
impl Sync for Ccipr
impl Unpin for Ccipr
impl UnwindSafe for Ccipr
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
)