Struct stm32_metapac::rcc::regs::Apbcfgr
#[repr(transparent)]pub struct Apbcfgr(pub u32);
Expand description
RCC APB clocks configuration register.
Tuple Fieldsยง
ยง0: u32
Implementationsยง
ยงimpl Apbcfgr
impl Apbcfgr
pub const fn ppre1(&self) -> Ppre
pub const fn ppre1(&self) -> Ppre
CPU domain APB1 prescaler Set and reset by software to control the division factor of rcc_pclk1. The clock is divided by the new prescaler factor from 1 to 16 cycles of sys_bus_ck after PPRE1 write. 0xx: rcc_pclk1 = sys_bus_ck (default after reset).
pub fn set_ppre1(&mut self, val: Ppre)
pub fn set_ppre1(&mut self, val: Ppre)
CPU domain APB1 prescaler Set and reset by software to control the division factor of rcc_pclk1. The clock is divided by the new prescaler factor from 1 to 16 cycles of sys_bus_ck after PPRE1 write. 0xx: rcc_pclk1 = sys_bus_ck (default after reset).
pub const fn ppre2(&self) -> Ppre
pub const fn ppre2(&self) -> Ppre
CPU domain APB2 prescaler Set and reset by software to control the division factor of rcc_pclk2. The clock is divided by the new prescaler factor from 1 to 16 cycles of sys_bus_ck after PPRE2 write. 0xx: rcc_pclk2 = sys_bus_ck (default after reset).
pub fn set_ppre2(&mut self, val: Ppre)
pub fn set_ppre2(&mut self, val: Ppre)
CPU domain APB2 prescaler Set and reset by software to control the division factor of rcc_pclk2. The clock is divided by the new prescaler factor from 1 to 16 cycles of sys_bus_ck after PPRE2 write. 0xx: rcc_pclk2 = sys_bus_ck (default after reset).
pub const fn ppre4(&self) -> Ppre
pub const fn ppre4(&self) -> Ppre
CPU domain APB4 prescaler Set and reset by software to control the division factor of rcc_pclk4. The clock is divided by the new prescaler factor from 1 to 16 cycles of sys_bus_ck after PPRE4 write. 0xx: rcc_pclk4 = sys_bus_ck (default after reset).
pub fn set_ppre4(&mut self, val: Ppre)
pub fn set_ppre4(&mut self, val: Ppre)
CPU domain APB4 prescaler Set and reset by software to control the division factor of rcc_pclk4. The clock is divided by the new prescaler factor from 1 to 16 cycles of sys_bus_ck after PPRE4 write. 0xx: rcc_pclk4 = sys_bus_ck (default after reset).