pub struct Hsi48Config {
pub sync_from_usb: bool,
}Expand description
Configuration for the HSI48 clock
Fields§
§sync_from_usb: boolEnable CRS Sync from USB Start Of Frame (SOF) events. Required if HSI48 is going to be used as USB clock.
This selects the SVD’s USB input, which is only one of the two OTG ports: USB1
(OTG_HS) on STM32H7, OTG_FS on STM32H7R/S. The OTG driver switches the CRS to the
other port when that is the one started.
Other use cases of CRS are not supported yet.
Implementations§
Source§impl Hsi48Config
impl Hsi48Config
Trait Implementations§
Source§impl Clone for Hsi48Config
impl Clone for Hsi48Config
Source§fn clone(&self) -> Hsi48Config
fn clone(&self) -> Hsi48Config
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for Hsi48Config
Source§impl Debug for Hsi48Config
impl Debug for Hsi48Config
Auto Trait Implementations§
impl Freeze for Hsi48Config
impl RefUnwindSafe for Hsi48Config
impl Send for Hsi48Config
impl Sync for Hsi48Config
impl Unpin for Hsi48Config
impl UnsafeUnpin for Hsi48Config
impl UnwindSafe for Hsi48Config
Blanket Implementations§
impl<T, I> Binding<I, NoHandler<I>> for T
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