pub struct RtcConfig { /* private fields */ }Implementations§
Source§impl 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 Freeze for RtcConfig
impl RefUnwindSafe for RtcConfig
impl Send for RtcConfig
impl Sync for RtcConfig
impl Unpin for RtcConfig
impl UnwindSafe for RtcConfig
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