pub struct LL_RTC_DateTypeDef {
    pub WeekDay: u8,
    pub Month: u8,
    pub Day: u8,
    pub Year: u8,
}
Expand description

@brief RTC Date structure definition

Fields

WeekDay: u8

< Specifies the RTC Date WeekDay. This parameter can be a value of @ref RTC_LL_EC_WEEKDAY

This feature can be modified afterwards using unitary function @ref LL_RTC_DATE_SetWeekDay().

Month: u8

< Specifies the RTC Date Month. This parameter can be a value of @ref RTC_LL_EC_MONTH

This feature can be modified afterwards using unitary function @ref LL_RTC_DATE_SetMonth().

Day: u8

< Specifies the RTC Date Day. This parameter must be a number between Min_Data = 1 and Max_Data = 31

This feature can be modified afterwards using unitary function @ref LL_RTC_DATE_SetDay().

Year: u8

< Specifies the RTC Date Year. This parameter must be a number between Min_Data = 0 and Max_Data = 99

This feature can be modified afterwards using unitary function @ref LL_RTC_DATE_SetYear().

Trait Implementations

Formats the value using the given formatter. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.