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§
Auto Trait Implementations§
impl Forget for Hsi48Config
impl Freeze for Hsi48Config
impl Move 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