Struct Cr
#[repr(transparent)]pub struct Cr(pub u32);Expand description
RCC clock control register.
Tuple Fields§
§0: u32Implementations§
§impl Cr
impl Cr
pub const fn set_msison(&mut self, val: bool)
pub const fn set_msison(&mut self, val: bool)
MSIS clock enable.
pub const fn set_msikeron(&mut self, val: bool)
pub const fn set_msikeron(&mut self, val: bool)
MSI enable for some peripheral kernels.
pub const fn set_msisrdy(&mut self, val: bool)
pub const fn set_msisrdy(&mut self, val: bool)
MSIS clock ready flag.
pub const fn set_msikon(&mut self, val: bool)
pub const fn set_msikon(&mut self, val: bool)
MSIK clock enable.
pub const fn set_msikrdy(&mut self, val: bool)
pub const fn set_msikrdy(&mut self, val: bool)
MSIK clock ready flag.
pub const fn set_msipll1en(&mut self, val: bool)
pub const fn set_msipll1en(&mut self, val: bool)
MSIRC1 PLL mode enable.
pub const fn set_msipll0en(&mut self, val: bool)
pub const fn set_msipll0en(&mut self, val: bool)
MSIRC0 PLL mode enable.
pub const fn msipll1fast(&self) -> bool
pub const fn msipll1fast(&self) -> bool
MSIRC1 PLL mode fast startup.
pub const fn set_msipll1fast(&mut self, val: bool)
pub const fn set_msipll1fast(&mut self, val: bool)
MSIRC1 PLL mode fast startup.
pub const fn msipll0fast(&self) -> bool
pub const fn msipll0fast(&self) -> bool
MSIRC0 PLL mode fast startup.
pub const fn set_msipll0fast(&mut self, val: bool)
pub const fn set_msipll0fast(&mut self, val: bool)
MSIRC0 PLL mode fast startup.
pub const fn msipll1rdy(&self) -> bool
pub const fn msipll1rdy(&self) -> bool
MSIRC1 PLL mode ready flag.
pub const fn set_msipll1rdy(&mut self, val: bool)
pub const fn set_msipll1rdy(&mut self, val: bool)
MSIRC1 PLL mode ready flag.
pub const fn msipll0rdy(&self) -> bool
pub const fn msipll0rdy(&self) -> bool
MSIRC0 PLL mode ready flag.
pub const fn set_msipll0rdy(&mut self, val: bool)
pub const fn set_msipll0rdy(&mut self, val: bool)
MSIRC0 PLL mode ready flag.
pub const fn set_hsikeron(&mut self, val: bool)
pub const fn set_hsikeron(&mut self, val: bool)
HSI16 enable for some peripheral kernels.
pub const fn set_hsirdy(&mut self, val: bool)
pub const fn set_hsirdy(&mut self, val: bool)
HSI16 clock ready flag.
pub const fn set_hsi48on(&mut self, val: bool)
pub const fn set_hsi48on(&mut self, val: bool)
HSI48 clock enable.
pub const fn set_hsi48rdy(&mut self, val: bool)
pub const fn set_hsi48rdy(&mut self, val: bool)
HSI48 clock ready flag.
pub const fn set_hserdy(&mut self, val: bool)
pub const fn set_hserdy(&mut self, val: bool)
HSE clock ready flag.
pub const fn set_hsebyp(&mut self, val: bool)
pub const fn set_hsebyp(&mut self, val: bool)
HSE crystal oscillator bypass.
pub const fn set_hsecsson(&mut self, val: bool)
pub const fn set_hsecsson(&mut self, val: bool)
Clock security system enable.
pub const fn set_hseext(&mut self, val: Hseext)
pub const fn set_hseext(&mut self, val: Hseext)
HSE external clock bypass mode.
Trait Implementations§
impl Copy for Cr
impl Eq for Cr
impl StructuralPartialEq for Cr
Auto Trait Implementations§
impl Freeze for Cr
impl RefUnwindSafe for Cr
impl Send for Cr
impl Sync for Cr
impl Unpin for Cr
impl UnwindSafe for Cr
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