Struct stm32_metapac::rcc::regs::Cfgr3
#[repr(transparent)]pub struct Cfgr3(pub u32);
Expand description
RCC clock configuration register 3
Tuple Fields§
§0: u32
Implementations§
§impl Cfgr3
impl Cfgr3
pub const fn ppre3(&self) -> Ppre
pub const fn ppre3(&self) -> Ppre
APB3 prescaler Set and cleared by software to control the division factor of the APB3 clock (PCLK3). 0xx: HCLK not divided
pub fn set_ppre3(&mut self, val: Ppre)
pub fn set_ppre3(&mut self, val: Ppre)
APB3 prescaler Set and cleared by software to control the division factor of the APB3 clock (PCLK3). 0xx: HCLK not divided
pub const fn ahb3dis(&self) -> bool
pub const fn ahb3dis(&self) -> bool
AHB3 clock disable This bit can be set in order to further reduce power consumption, when none of the AHB3 peripherals (except SRAM4) are used and when their clocks are disabled in RCC_AHB3ENR. When this bit is set, all the AHB3 peripherals clocks are off, except for SRAM4.
pub fn set_ahb3dis(&mut self, val: bool)
pub fn set_ahb3dis(&mut self, val: bool)
AHB3 clock disable This bit can be set in order to further reduce power consumption, when none of the AHB3 peripherals (except SRAM4) are used and when their clocks are disabled in RCC_AHB3ENR. When this bit is set, all the AHB3 peripherals clocks are off, except for SRAM4.
pub const fn apb3dis(&self) -> bool
pub const fn apb3dis(&self) -> bool
APB3 clock disable This bit can be set in order to further reduce power consumption, when none of the APB3 peripherals from RCC_APB3ENR are used and when their clocks are disabled in RCC_APB3ENR. When this bit is set, all the APB3 peripherals clocks are off.
pub fn set_apb3dis(&mut self, val: bool)
pub fn set_apb3dis(&mut self, val: bool)
APB3 clock disable This bit can be set in order to further reduce power consumption, when none of the APB3 peripherals from RCC_APB3ENR are used and when their clocks are disabled in RCC_APB3ENR. When this bit is set, all the APB3 peripherals clocks are off.
Trait Implementations§
impl Copy for Cfgr3
impl Eq for Cfgr3
impl StructuralPartialEq for Cfgr3
Auto Trait Implementations§
impl Freeze for Cfgr3
impl RefUnwindSafe for Cfgr3
impl Send for Cfgr3
impl Sync for Cfgr3
impl Unpin for Cfgr3
impl UnwindSafe for Cfgr3
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
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)
clone_to_uninit
)