#[repr(C)]pub struct RTC_InitTypeDef {
pub AsynchPrediv: u32,
pub OutPut: u32,
}
Expand description
@brief RTC Configuration Structure definition
Fields§
§AsynchPrediv: u32
< Specifies the RTC Asynchronous Predivider value. This parameter must be a number between Min_Data = 0x00 and Max_Data = 0xFFFFF or RTC_AUTO_1_SECOND If RTC_AUTO_1_SECOND is selected, AsynchPrediv will be set automatically to get 1sec timebase
OutPut: u32
< Specifies which signal will be routed to the RTC Tamper pin. This parameter can be a value of @ref RTC_output_source_to_output_pin
Trait Implementations§
Source§impl Clone for RTC_InitTypeDef
impl Clone for RTC_InitTypeDef
Source§fn clone(&self) -> RTC_InitTypeDef
fn clone(&self) -> 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 RTC_InitTypeDef
impl Debug for RTC_InitTypeDef
impl Copy for RTC_InitTypeDef
Auto Trait Implementations§
impl Freeze for RTC_InitTypeDef
impl RefUnwindSafe for RTC_InitTypeDef
impl Send for RTC_InitTypeDef
impl Sync for RTC_InitTypeDef
impl Unpin for RTC_InitTypeDef
impl UnwindSafe for 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