LL RTC Generic Driver
Notes
LL_RTC_ALMB_Init
Function name
Function description
Parameters
Return values
Notes
LL_RTC_ALMA_StructInit
Function name
Function description
Parameters
Return values
LL_RTC_ALMB_StructInit
Function name
Function description
Parameters
Return values
1116/1371
The Alarm register can only be written when the
corresponding Alarm is disabled (Use
LL_RTC_ALMA_Disable function).
ErrorStatus LL_RTC_ALMB_Init (RTC_TypeDef * RTCx,
uint32_t RTC_Format, LL_RTC_AlarmTypeDef *
RTC_AlarmStruct)
Set the RTC Alarm B.
RTCx: RTC Instance
RTC_Format: This parameter can be one of the following
values:
LL_RTC_FORMAT_BIN
LL_RTC_FORMAT_BCD
RTC_AlarmStruct: pointer to a LL_RTC_AlarmTypeDef
structure that contains the alarm configuration parameters.
An: ErrorStatus enumeration value:
SUCCESS: ALARMB registers are configured
ERROR: ALARMB registers are not configured
The Alarm register can only be written when the
corresponding Alarm is disabled (LL_RTC_ALMB_Disable
function).
void LL_RTC_ALMA_StructInit (LL_RTC_AlarmTypeDef *
RTC_AlarmStruct)
Set each LL_RTC_AlarmTypeDef of ALARMA field to default value
(Time = 00h:00mn:00sec / Day = 1st day of the month/Mask = all
fields are masked).
RTC_AlarmStruct: pointer to a LL_RTC_AlarmTypeDef
structure which will be initialized.
None:
void LL_RTC_ALMB_StructInit (LL_RTC_AlarmTypeDef *
RTC_AlarmStruct)
Set each LL_RTC_AlarmTypeDef of ALARMA field to default value
(Time = 00h:00mn:00sec / Day = 1st day of the month/Mask = all
fields are masked).
RTC_AlarmStruct: pointer to a LL_RTC_AlarmTypeDef
structure which will be initialized.
None:
DocID028236 Rev 2
UM1940
Need help?
Do you have a question about the STM32F2 and is the answer not in the manual?