Struct embassy_stm32::rcc::Hsi48Config
source · pub struct Hsi48Config {
pub sync_from_usb: bool,
}
Expand description
Configuration for the HSI48 clock
Fields§
§sync_from_usb: bool
Enable CRS Sync from USB Start Of Frame (SOF) events. Required if HSI48 is going to be used as USB clock.
Other use cases of CRS are not supported yet.
Trait Implementations§
source§impl Clone for Hsi48Config
impl Clone for Hsi48Config
source§fn clone(&self) -> Hsi48Config
fn clone(&self) -> Hsi48Config
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for Hsi48Config
impl Debug for Hsi48Config
source§impl Default for Hsi48Config
impl Default for Hsi48Config
impl Copy for Hsi48Config
Auto Trait Implementations§
impl RefUnwindSafe for Hsi48Config
impl Send for Hsi48Config
impl Sync for Hsi48Config
impl Unpin for Hsi48Config
impl UnwindSafe for Hsi48Config
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