HAL
+ 0/4 examples
CodeScope will show references to
LL_RTC_DATE_GetMonth()
from the following samples and libraries:
Examples
STM32F411RE-Nucleo
Examples_LL
RTC
RTC_Alarm
RTC_Alarm_Init
RTC_Calendar
RTC_TimeStamp
Symbol previews are coming soon...
Symbols
loading...
Files
loading...
CodeScope
STM32 Libraries and Samples
HAL
LL_RTC_DATE_GetMonth()
LL_RTC_DATE_GetMonth() function
Get Month in BCD format
Syntax
from
stm32f4xx_ll_rtc.h:1430
__STATIC_INLINE
uint32_t
LL_RTC_DATE_GetMonth
(
RTC_TypeDef
*
RTCx
)
;
Arguments
RTCx
RTC Instance
Return value
Returned value can be one of the following values: @arg
LL_RTC_MONTH_JANUARY
@arg
LL_RTC_MONTH_FEBRUARY
@arg
LL_RTC_MONTH_MARCH
@arg
LL_RTC_MONTH_APRIL
@arg
LL_RTC_MONTH_MAY
@arg
LL_RTC_MONTH_JUNE
@arg
LL_RTC_MONTH_JULY
@arg
LL_RTC_MONTH_AUGUST
@arg
LL_RTC_MONTH_SEPTEMBER
@arg
LL_RTC_MONTH_OCTOBER
@arg
LL_RTC_MONTH_NOVEMBER
@arg
LL_RTC_MONTH_DECEMBER
Notes
if RTC shadow registers are not bypassed (BYPSHAD=0), need to check if RSF flag is set before reading this bit helper macro __LL_RTC_CONVERT_BCD2BIN is available to convert Month from BCD to Binary format DR MU LL_RTC_DATE_GetMonth
Examples
LL_RTC_DATE_GetMonth()
is referenced by
4 libraries and example projects
.
References
Location
Text
stm32f4xx_ll_rtc.h:1430
__STATIC_INLINE
uint32_t
LL_RTC_DATE_GetMonth
(
RTC_TypeDef
*
RTCx
)
Data Use
Data read by
LL_RTC_DATE_GetMonth()
RTC_TypeDef::DR
LL_RTC_DATE_GetMonth()::RTCx
all items filtered out
LL_RTC_DATE_GetMonth()
Type of
LL_RTC_DATE_GetMonth()
LL_RTC_DATE_GetMonth()
uint32_t
all items filtered out