pub struct Clocks { /* private fields */ }
Expand description
Implementations§
Source§impl Clocks
impl Clocks
Sourcepub fn usbclk_valid(&self) -> bool
pub fn usbclk_valid(&self) -> bool
Returns whether the USBCLK clock frequency is valid for the USB peripheral
If the microcontroller does support USB, 48 Mhz or 72 Mhz have to be used
and the CFGR::hse
must be used.
The APB1 / CFGR::pclk1
clock must have a minimum frequency of 10 MHz to avoid data
overrun/underrun problems. RM0316 32.5.2
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Clocks
impl RefUnwindSafe for Clocks
impl Send for Clocks
impl Sync for Clocks
impl Unpin for Clocks
impl UnwindSafe for Clocks
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