Struct stm32_metapac::rcc::regs::Ccipr
#[repr(transparent)]pub struct Ccipr(pub u32);
Expand description
Peripherals independent clock configuration register
Tuple Fields§
§0: u32
Implementations§
§impl Ccipr
impl Ccipr
pub fn set_usart1sel(&mut self, val: u8)
pub fn set_usart1sel(&mut self, val: u8)
USART1 clock source selection
pub fn set_usart2sel(&mut self, val: u8)
pub fn set_usart2sel(&mut self, val: u8)
USART2 clock source selection
pub fn set_spi2sel(&mut self, val: u8)
pub fn set_spi2sel(&mut self, val: u8)
SPI2 I2S clock source selection
pub const fn lpuart1sel(&self) -> u8
pub const fn lpuart1sel(&self) -> u8
LPUART1 clock source selection
pub fn set_lpuart1sel(&mut self, val: u8)
pub fn set_lpuart1sel(&mut self, val: u8)
LPUART1 clock source selection
pub fn set_i2c1sel(&mut self, val: u8)
pub fn set_i2c1sel(&mut self, val: u8)
I2C1 clock source selection
pub fn set_i2c2sel(&mut self, val: u8)
pub fn set_i2c2sel(&mut self, val: u8)
I2C2 clock source selection
pub fn set_i2c3sel(&mut self, val: u8)
pub fn set_i2c3sel(&mut self, val: u8)
I2C3 clock source selection
pub fn set_lptim1sel(&mut self, val: u8)
pub fn set_lptim1sel(&mut self, val: u8)
Low power timer 1 clock source selection
pub fn set_lptim2sel(&mut self, val: u8)
pub fn set_lptim2sel(&mut self, val: u8)
Low power timer 2 clock source selection
pub fn set_lptim3sel(&mut self, val: u8)
pub fn set_lptim3sel(&mut self, val: u8)
Low power timer 3 clock source selection
pub fn set_adcsel(&mut self, val: Adcsel)
pub fn set_adcsel(&mut self, val: Adcsel)
ADC clock source selection
pub fn set_rngsel(&mut self, val: Rngsel)
pub fn set_rngsel(&mut self, val: Rngsel)
RNG 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
)