Struct flipper0::ffi::LL_RTC_TimeTypeDef
source · 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().