Struct Ccipr
#[repr(transparent)]pub struct Ccipr(pub u32);Expand description
Peripherals independent clock configuration register
Tuple Fields§
§0: u32Implementations§
§impl Ccipr
impl Ccipr
pub const fn set_usart1sel(&mut self, val: Usartsel)
pub const fn set_usart1sel(&mut self, val: Usartsel)
USART1 clock source selection
pub const fn set_usart2sel(&mut self, val: Usartsel)
pub const fn set_usart2sel(&mut self, val: Usartsel)
USART2 clock source selection
pub const fn set_usart3sel(&mut self, val: Usartsel)
pub const fn set_usart3sel(&mut self, val: Usartsel)
USART3 clock source selection
pub const fn set_cecsel(&mut self, val: Cecsel)
pub const fn set_cecsel(&mut self, val: Cecsel)
HDMI CEC clock source selection
pub const fn lpuart2sel(&self) -> Lpuartsel
pub const fn lpuart2sel(&self) -> Lpuartsel
LPUART2 clock source selection
pub const fn set_lpuart2sel(&mut self, val: Lpuartsel)
pub const fn set_lpuart2sel(&mut self, val: Lpuartsel)
LPUART2 clock source selection
pub const fn lpuart1sel(&self) -> Lpuartsel
pub const fn lpuart1sel(&self) -> Lpuartsel
LPUART1 clock source selection
pub const fn set_lpuart1sel(&mut self, val: Lpuartsel)
pub const fn set_lpuart1sel(&mut self, val: Lpuartsel)
LPUART1 clock source selection
pub const fn set_i2c1sel(&mut self, val: I2csel)
pub const fn set_i2c1sel(&mut self, val: I2csel)
I2C1 clock source selection
pub const fn i2c2i2s1sel(&self) -> I2c2i2s1sel
pub const fn i2c2i2s1sel(&self) -> I2c2i2s1sel
I2C2/I2S1 clock source selection. Selects the I2C2 clock on STM32G0B1/G0C1, and the I2S1 clock on the other devices (see the variant descriptions for the per-device meaning)
pub const fn set_i2c2i2s1sel(&mut self, val: I2c2i2s1sel)
pub const fn set_i2c2i2s1sel(&mut self, val: I2c2i2s1sel)
I2C2/I2S1 clock source selection. Selects the I2C2 clock on STM32G0B1/G0C1, and the I2S1 clock on the other devices (see the variant descriptions for the per-device meaning)
pub const fn set_lptim1sel(&mut self, val: Lptimsel)
pub const fn set_lptim1sel(&mut self, val: Lptimsel)
LPTIM1 clock source selection
pub const fn set_lptim2sel(&mut self, val: Lptimsel)
pub const fn set_lptim2sel(&mut self, val: Lptimsel)
LPTIM2 clock source selection
pub const fn set_tim1sel(&mut self, val: Timsel)
pub const fn set_tim1sel(&mut self, val: Timsel)
TIM1 clock source selection
pub const fn set_tim15sel(&mut self, val: Timsel)
pub const fn set_tim15sel(&mut self, val: Timsel)
TIM15 clock source selection
pub const fn set_rngsel(&mut self, val: Rngsel)
pub const fn set_rngsel(&mut self, val: Rngsel)
RNG clock source selection
pub const fn set_rngdiv(&mut self, val: Rngdiv)
pub const fn set_rngdiv(&mut self, val: Rngdiv)
Division factor of RNG clock divider
pub const fn set_adcsel(&mut self, val: Adcsel)
pub const fn set_adcsel(&mut self, val: Adcsel)
ADCs clock source selection