HAL
+ 0/30 examples
CodeScope will show references to
RTC_DateTypeDef::Year
from the following samples and libraries:
Examples
STM32446E_EVAL
Demonstrations
STemWin
Examples
RTC
RTC_Alarm
RTC_Calendar
RTC_TimeStamp
STM324xG_EVAL
Demonstrations
STemWin
Examples
RTC
RTC_Alarm
RTC_Calendar
RTC_TimeStamp
STM32F429I-Discovery
Demonstrations
STemWin
STM32446E-Nucleo
Examples
RTC
RTC_Calendar
STM32469I_EVAL
Examples
RTC
RTC_Alarm
RTC_Calendar
RTC_TimeStamp
STM324x9I_EVAL
Demonstrations
STemWin
MB1046
MB1063
Examples
RTC
RTC_Alarm
RTC_Calendar
RTC_TimeStamp
STM32F410xx-Nucleo
Examples
RTC
RTC_Calendar
STM32F411RE-Nucleo
Examples
RTC
RTC_Calendar
STM32F412G-Discovery
Examples
RTC
RTC_Calendar
RTC_TimeStamp
STM32F412ZG-Nucleo
Examples
RTC
RTC_Calendar
STM32F413H-Discovery
Examples
RTC
RTC_Calendar
RTC_TimeStamp
STM32F413ZH-Nucleo
Examples
RTC
RTC_Alarm
RTC_Calendar
STM32F429ZI-Nucleo
Applications
NetXDuo
Nx_SNTP_Client
Examples
RTC
RTC_Calendar
STM32F446ZE-Nucleo
Examples
RTC
RTC_Calendar
Symbol previews are coming soon...
Symbols
loading...
Files
loading...
CodeScope
STM32 Libraries and Samples
HAL
RTC_DateTypeDef::Year
RTC_DateTypeDef::Year field
Specifies the RTC Date Year. This parameter must be a number between Min_Data = 0 and Max_Data = 99
Syntax
from
stm32f4xx_hal_rtc.h:130
uint8_t
Year
;
Examples
RTC_DateTypeDef::Year
is referenced by
30 libraries and example projects
.
References
Location
Referrer
Text
stm32f4xx_hal_rtc.h:130
uint8_t
Year
;
/*!< Specifies the RTC Date Year.
stm32f4xx_hal_rtc.c:879
HAL_RTC_SetDate()
assert_param
(
IS_RTC_YEAR
(
sDate
->
Year
)
)
;
stm32f4xx_hal_rtc.c:883
HAL_RTC_SetDate()
datetmpreg
=
(
(
(
uint32_t
)
RTC_ByteToBcd2
(
sDate
->
Year
)
<
<
RTC_DR_YU_Pos
)
|
\
stm32f4xx_hal_rtc.c:890
HAL_RTC_SetDate()
assert_param
(
IS_RTC_YEAR
(
RTC_Bcd2ToByte
(
sDate
->
Year
)
)
)
;
stm32f4xx_hal_rtc.c:894
HAL_RTC_SetDate()
datetmpreg
=
(
(
(
(
uint32_t
)
sDate
->
Year
)
<
<
RTC_DR_YU_Pos
)
|
\
stm32f4xx_hal_rtc.c:957
HAL_RTC_GetDate()
sDate
->
Year
=
(
uint8_t
)
(
(
datetmpreg
&
(
RTC_DR_YT
|
RTC_DR_YU
)
)
>
>
RTC_DR_YU_Pos
)
;
stm32f4xx_hal_rtc.c:966
HAL_RTC_GetDate()
sDate
->
Year
=
(
uint8_t
)
RTC_Bcd2ToByte
(
sDate
->
Year
)
;
stm32f4xx_hal_rtc_ex.c:385
HAL_RTCEx_GetTimeStamp()
sTimeStampDate
->
Year
=
0U
;
Data Use
Functions writing
RTC_DateTypeDef::Year
Functions reading
RTC_DateTypeDef::Year
HAL_RTC_GetDate()
HAL_RTCEx_GetTimeStamp()
all items filtered out
RTC_DateTypeDef::Year
HAL_RTC_SetDate()
HAL_RTC_GetDate()
all items filtered out
Type of
RTC_DateTypeDef::Year
RTC_DateTypeDef::Year
uint8_t
all items filtered out