HAL + 0/1 examples
CodeScope will show references to LL_RTC_ALMA_Init() from the following samples and libraries:
Examples
STM32F411RE-Nucleo
Examples_LL
RTC
 
Symbols
loading...
Files
loading...

LL_RTC_ALMA_Init() function

Set the RTC Alarm A.

Syntax

ErrorStatus LL_RTC_ALMA_Init(RTC_TypeDef *RTCx,     uint32_t RTC_Format,     LL_RTC_AlarmTypeDef *RTC_AlarmStruct);
Implemented in stm32f4xx_ll_rtc.c:444

Arguments

RTCx

RTC Instance

RTC_Format

This parameter can be one of the following values: @arg LL_RTC_FORMAT_BIN @arg LL_RTC_FORMAT_BCD

RTC_AlarmStruct

pointer to a LL_RTC_AlarmTypeDef structure that contains the alarm configuration parameters.

Return value

An ErrorStatus enumeration value: - SUCCESS: ALARMA registers are configured - ERROR: ALARMA registers are not configured

Notes

The Alarm register can only be written when the corresponding Alarm is disabled (Use LL_RTC_ALMA_Disable function).

Examples

LL_RTC_ALMA_Init() is referenced by 1 libraries and example projects.