Struct embassy_stm32::rcc::LsConfig
source · pub struct LsConfig {
pub rtc: RtcClockSource,
pub lsi: bool,
pub lse: Option<LseConfig>,
}
Fields§
§rtc: RtcClockSource
§lsi: bool
§lse: Option<LseConfig>
Implementations§
source§impl LsConfig
impl LsConfig
pub const fn default_lse() -> Self
pub const fn default_lsi() -> Self
pub const fn off() -> Self
Trait Implementations§
Auto Trait Implementations§
impl Freeze for LsConfig
impl RefUnwindSafe for LsConfig
impl Send for LsConfig
impl Sync for LsConfig
impl Unpin for LsConfig
impl UnwindSafe for LsConfig
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