Struct stm32_hal2::rtc::RtcConfig [−][src]
pub struct RtcConfig { /* fields omitted */ }Implementations
impl RtcConfig[src]
impl RtcConfig[src]pub fn clock_source(self, source: RtcClockSource) -> Self[src]
Sets the clock source of RTC config
pub fn async_prescaler(self, prescaler: u8) -> Self[src]
Set the asynchronous prescaler of RTC config
pub fn sync_prescaler(self, prescaler: u16) -> Self[src]
Set the synchronous prescaler of RTC config
pub fn bypass_lse_output(self, bypass: bool) -> Self[src]
Choose wheather to bypass the output line to the LSE, and configure it as a GPIO
Trait Implementations
impl Clone for RtcConfig[src]
impl Clone for RtcConfig[src]fn clone(&self) -> RtcConfig[src]
pub fn clone_from(&mut self, source: &Self)1.0.0[src]
impl StructuralPartialEq for RtcConfig[src]
impl StructuralPartialEq for RtcConfig[src]