pub struct LL_RTC_TimeTypeDef {
    pub TimeFormat: u32,
    pub Hours: u8,
    pub Minutes: u8,
    pub Seconds: u8,
}
Expand description

@brief RTC Time structure definition

Fields

TimeFormat: u32

< Specifies the RTC AM/PM Time. This parameter can be a value of @ref RTC_LL_EC_TIME_FORMAT

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

Hours: u8

< Specifies the RTC Time Hours. This parameter must be a number between Min_Data = 0 and Max_Data = 12 if the @ref LL_RTC_TIME_FORMAT_PM is selected. This parameter must be a number between Min_Data = 0 and Max_Data = 23 if the @ref LL_RTC_TIME_FORMAT_AM_OR_24 is selected.

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

Minutes: u8

< Specifies the RTC Time Minutes. This parameter must be a number between Min_Data = 0 and Max_Data = 59

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

Seconds: u8

< Specifies the RTC Time Seconds. This parameter must be a number between Min_Data = 0 and Max_Data = 59

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

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.