#[repr(C)]pub struct LL_RTC_InitTypeDef {
pub HourFormat: u32,
pub AsynchPrescaler: u32,
pub SynchPrescaler: u32,
}Expand description
RTC Init structures definition
Fields§
§HourFormat: u32< Specifies the RTC Hours Format. This parameter can be a value of RTC_LL_EC_HOURFORMAT
This feature can be modified afterwards using unitary function LL_RTC_SetHourFormat().
AsynchPrescaler: u32< Specifies the RTC Asynchronous Predivider value. This parameter must be a number between Min_Data = 0x00 and Max_Data = 0x7F
This feature can be modified afterwards using unitary function LL_RTC_SetAsynchPrescaler().
SynchPrescaler: u32< Specifies the RTC Synchronous Predivider value. This parameter must be a number between Min_Data = 0x00 and Max_Data = 0x7FFF
This feature can be modified afterwards using unitary function LL_RTC_SetSynchPrescaler().
Trait Implementations§
Source§impl Clone for LL_RTC_InitTypeDef
impl Clone for LL_RTC_InitTypeDef
Source§fn clone(&self) -> LL_RTC_InitTypeDef
fn clone(&self) -> LL_RTC_InitTypeDef
Returns a duplicate 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 LL_RTC_InitTypeDef
impl Debug for LL_RTC_InitTypeDef
impl Copy for LL_RTC_InitTypeDef
Auto Trait Implementations§
impl Freeze for LL_RTC_InitTypeDef
impl RefUnwindSafe for LL_RTC_InitTypeDef
impl Send for LL_RTC_InitTypeDef
impl Sync for LL_RTC_InitTypeDef
impl Unpin for LL_RTC_InitTypeDef
impl UnwindSafe for LL_RTC_InitTypeDef
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