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 Freeze for Hsi48Config
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