Struct stm32l0xx_hal::rcc::Rcc
source · [−]pub struct Rcc {
pub clocks: Clocks,
/* private fields */
}
Expand description
RCC peripheral
Fields
clocks: Clocks
Implementations
sourceimpl Rcc
impl Rcc
sourcepub fn configure_mco<P>(
&mut self,
source: MCOSEL_A,
prescaler: MCOPRE_A,
output_pin: P
) -> MCOEnabled where
P: Pin,
pub fn configure_mco<P>(
&mut self,
source: MCOSEL_A,
prescaler: MCOPRE_A,
output_pin: P
) -> MCOEnabled where
P: Pin,
Configure MCO (Microcontroller Clock Output).
Methods from Deref<Target = RCC>
pub const PTR: *const RegisterBlock = {0x40021000 as *const stm32l0::stm32l0x1::rcc::RegisterBlock}
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Rcc
impl Send for Rcc
impl !Sync for Rcc
impl Unpin for Rcc
impl UnwindSafe for Rcc
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more