Struct stm32l4xx_hal::rtc::RtcConfig
source · [−]pub struct RtcConfig { /* private fields */ }
Implementations
sourceimpl RtcConfig
impl RtcConfig
sourcepub fn clock_config(self, cfg: RtcClockSource) -> Self
pub fn clock_config(self, cfg: RtcClockSource) -> Self
Sets the clock source of RTC config
sourcepub fn async_prescaler(self, prescaler: u8) -> Self
pub fn async_prescaler(self, prescaler: u8) -> Self
Set the asynchronous prescaler of RTC config
sourcepub fn sync_prescaler(self, prescaler: u16) -> Self
pub fn sync_prescaler(self, prescaler: u16) -> Self
Set the synchronous prescaler of RTC config
sourcepub fn wakeup_clock_config(self, cfg: RtcWakeupClockSource) -> Self
pub fn wakeup_clock_config(self, cfg: RtcWakeupClockSource) -> Self
Set the Clock Source for the Wakeup Timer
Trait Implementations
impl Copy for RtcConfig
impl StructuralPartialEq for RtcConfig
Auto Trait Implementations
impl RefUnwindSafe for RtcConfig
impl Send for RtcConfig
impl Sync for RtcConfig
impl Unpin for RtcConfig
impl UnwindSafe for RtcConfig
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more