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 const fn usart1sel(&self) -> Usart1sel
pub const fn usart1sel(&self) -> Usart1sel
USART1 clock source selection This bitfield is controlled by software to select USART1 clock source as follows:.
pub fn set_usart1sel(&mut self, val: Usart1sel)
pub fn set_usart1sel(&mut self, val: Usart1sel)
USART1 clock source selection This bitfield is controlled by software to select USART1 clock source as follows:.
pub const fn usart2sel(&self) -> Usart2sel
pub const fn usart2sel(&self) -> Usart2sel
USART2 clock source selection This bitfield is controlled by software to select USART2 clock source as follows:.
pub fn set_usart2sel(&mut self, val: Usart2sel)
pub fn set_usart2sel(&mut self, val: Usart2sel)
USART2 clock source selection This bitfield is controlled by software to select USART2 clock source as follows:.
pub const fn lpuart3sel(&self) -> Lpuart3sel
pub const fn lpuart3sel(&self) -> Lpuart3sel
LPUART3 clock source selection(1) This bitfield is controlled by software to select LPUART3 clock source as follows:.
pub fn set_lpuart3sel(&mut self, val: Lpuart3sel)
pub fn set_lpuart3sel(&mut self, val: Lpuart3sel)
LPUART3 clock source selection(1) This bitfield is controlled by software to select LPUART3 clock source as follows:.
pub const fn lpuart2sel(&self) -> Lpuart2sel
pub const fn lpuart2sel(&self) -> Lpuart2sel
LPUART2 clock source selection This bitfield is controlled by software to select LPUART2 clock source as follows:.
pub fn set_lpuart2sel(&mut self, val: Lpuart2sel)
pub fn set_lpuart2sel(&mut self, val: Lpuart2sel)
LPUART2 clock source selection This bitfield is controlled by software to select LPUART2 clock source as follows:.
pub const fn lpuart1sel(&self) -> Lpuart1sel
pub const fn lpuart1sel(&self) -> Lpuart1sel
LPUART1 clock source selection This bitfield is controlled by software to select LPUART1 clock source as follows:.
pub fn set_lpuart1sel(&mut self, val: Lpuart1sel)
pub fn set_lpuart1sel(&mut self, val: Lpuart1sel)
LPUART1 clock source selection This bitfield is controlled by software to select LPUART1 clock source as follows:.
pub const fn i2c1sel(&self) -> I2c1sel
pub const fn i2c1sel(&self) -> I2c1sel
I2C1 clock source selection This bitfield is controlled by software to select I2C1 clock source as follows:.
pub fn set_i2c1sel(&mut self, val: I2c1sel)
pub fn set_i2c1sel(&mut self, val: I2c1sel)
I2C1 clock source selection This bitfield is controlled by software to select I2C1 clock source as follows:.
pub const fn i2c3sel(&self) -> I2c3sel
pub const fn i2c3sel(&self) -> I2c3sel
I2C3 clock source selection This bitfield is controlled by software to select I2C3 clock source as follows:.
pub fn set_i2c3sel(&mut self, val: I2c3sel)
pub fn set_i2c3sel(&mut self, val: I2c3sel)
I2C3 clock source selection This bitfield is controlled by software to select I2C3 clock source as follows:.
pub const fn lptim1sel(&self) -> Lptim1sel
pub const fn lptim1sel(&self) -> Lptim1sel
LPTIM1 clock source selection This bitfield is controlled by software to select LPTIM1 clock source as follows:.
pub fn set_lptim1sel(&mut self, val: Lptim1sel)
pub fn set_lptim1sel(&mut self, val: Lptim1sel)
LPTIM1 clock source selection This bitfield is controlled by software to select LPTIM1 clock source as follows:.
pub const fn lptim2sel(&self) -> Lptim2sel
pub const fn lptim2sel(&self) -> Lptim2sel
LPTIM2 clock source selection This bitfield is controlled by software to select LPTIM2 clock source as follows:.
pub fn set_lptim2sel(&mut self, val: Lptim2sel)
pub fn set_lptim2sel(&mut self, val: Lptim2sel)
LPTIM2 clock source selection This bitfield is controlled by software to select LPTIM2 clock source as follows:.
pub const fn lptim3sel(&self) -> Lptim3sel
pub const fn lptim3sel(&self) -> Lptim3sel
LPTIM3 clock source selection This bitfield is controlled by software to select LPTIM3 clock source as follows:.
pub fn set_lptim3sel(&mut self, val: Lptim3sel)
pub fn set_lptim3sel(&mut self, val: Lptim3sel)
LPTIM3 clock source selection This bitfield is controlled by software to select LPTIM3 clock source as follows:.
pub const fn tim1sel(&self) -> Tim1sel
pub const fn tim1sel(&self) -> Tim1sel
TIM1 clock source selection This bit is set and cleared by software. It selects TIM1 clock source as follows:.
pub fn set_tim1sel(&mut self, val: Tim1sel)
pub fn set_tim1sel(&mut self, val: Tim1sel)
TIM1 clock source selection This bit is set and cleared by software. It selects TIM1 clock source as follows:.
pub const fn tim15sel(&self) -> Tim15sel
pub const fn tim15sel(&self) -> Tim15sel
TIM15 clock source selection This bit is set and cleared by software. It selects TIM15 clock source as follows:.
pub fn set_tim15sel(&mut self, val: Tim15sel)
pub fn set_tim15sel(&mut self, val: Tim15sel)
TIM15 clock source selection This bit is set and cleared by software. It selects TIM15 clock source as follows:.
pub const fn clk48sel(&self) -> Clk48sel
pub const fn clk48sel(&self) -> Clk48sel
481MHz clock source selection This bitfield is controlled by software to select the 481MHz clock source used by the USB FS and the RNG:.
pub fn set_clk48sel(&mut self, val: Clk48sel)
pub fn set_clk48sel(&mut self, val: Clk48sel)
481MHz clock source selection This bitfield is controlled by software to select the 481MHz clock source used by the USB FS and the RNG:.
pub const fn adcsel(&self) -> Adcsel
pub const fn adcsel(&self) -> Adcsel
ADCs clock source selection This bitfield is controlled by software to select the clock source for ADC:.
pub fn set_adcsel(&mut self, val: Adcsel)
pub fn set_adcsel(&mut self, val: Adcsel)
ADCs clock source selection This bitfield is controlled by software to select the clock source for ADC:.