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

LL_RTC_SetHourFormat() function

Set Hours format (24 hour/day or AM/PM hour format)

Syntax

__STATIC_INLINE void LL_RTC_SetHourFormat(RTC_TypeDef *RTCx,     uint32_t HourFormat);

Arguments

RTCx

RTC Instance

HourFormat

This parameter can be one of the following values: @arg LL_RTC_HOURFORMAT_24HOUR @arg LL_RTC_HOURFORMAT_AMPM

Return value

None

Notes

Bit is write-protected. LL_RTC_DisableWriteProtection function should be called before. It can be written in initialization mode only (LL_RTC_EnableInitMode function)

Examples

LL_RTC_SetHourFormat() is referenced by 3 libraries and example projects.

References

LocationReferrerText
stm32f4xx_ll_rtc.h:744
__STATIC_INLINE void LL_RTC_SetHourFormat(RTC_TypeDef *RTCx, uint32_t HourFormat)
stm32f4xx_ll_rtc.c:209LL_RTC_Init()
LL_RTC_SetHourFormat(RTCx, RTC_InitStruct->HourFormat);

Call Tree

Functions calling LL_RTC_SetHourFormat()
all items filtered out
LL_RTC_SetHourFormat()
Data read by LL_RTC_SetHourFormat()
LL_RTC_SetHourFormat()