Home
last modified time | relevance | path

Searched refs:Year (Results 1 – 25 of 119) sorted by relevance

12345

/hal_stm32-latest/stm32cube/stm32f1xx/drivers/src/
Dstm32f1xx_hal_rtc.c394 hrtc->DateToUpdate.Year = 0x00U; in HAL_RTC_Init()
934 assert_param(IS_RTC_YEAR(sDate->Year)); in HAL_RTC_SetDate()
939 hrtc->DateToUpdate.Year = sDate->Year; in HAL_RTC_SetDate()
945 assert_param(IS_RTC_YEAR(RTC_Bcd2ToByte(sDate->Year))); in HAL_RTC_SetDate()
950 hrtc->DateToUpdate.Year = RTC_Bcd2ToByte(sDate->Year); in HAL_RTC_SetDate()
956 …hrtc->DateToUpdate.WeekDay = RTC_WeekDayNum(hrtc->DateToUpdate.Year, hrtc->DateToUpdate.Month, hrt… in HAL_RTC_SetDate()
1049 sDate->Year = hrtc->DateToUpdate.Year; in HAL_RTC_GetDate()
1057 sDate->Year = (uint8_t)RTC_ByteToBcd2(sDate->Year); in HAL_RTC_GetDate()
1791 year = hrtc->DateToUpdate.Year; in RTC_DateUpdate()
1864 hrtc->DateToUpdate.Year = year; in RTC_DateUpdate()
/hal_stm32-latest/stm32cube/stm32l4xx/drivers/src/
Dstm32l4xx_hal_rtc.c960 assert_param(IS_RTC_YEAR(sDate->Year)); in HAL_RTC_SetDate()
964 datetmpreg = (((uint32_t)RTC_ByteToBcd2(sDate->Year) << RTC_DR_YU_Pos) | \ in HAL_RTC_SetDate()
971 assert_param(IS_RTC_YEAR(RTC_Bcd2ToByte(sDate->Year))); in HAL_RTC_SetDate()
975 datetmpreg = ((((uint32_t)sDate->Year) << RTC_DR_YU_Pos) | \ in HAL_RTC_SetDate()
1034 sDate->Year = (uint8_t)((datetmpreg & (RTC_DR_YT | RTC_DR_YU)) >> RTC_DR_YU_Pos); in HAL_RTC_GetDate()
1043 sDate->Year = (uint8_t)RTC_Bcd2ToByte(sDate->Year); in HAL_RTC_GetDate()
1630 assert_param(IS_RTC_YEAR(sDate->Year)); in HAL_RTC_SetDate()
1634 datetmpreg = (((uint32_t)RTC_ByteToBcd2(sDate->Year) << RTC_DR_YU_Pos) | \ in HAL_RTC_SetDate()
1641 assert_param(IS_RTC_YEAR(RTC_Bcd2ToByte(sDate->Year))); in HAL_RTC_SetDate()
1645 datetmpreg = ((((uint32_t)sDate->Year) << RTC_DR_YU_Pos) | \ in HAL_RTC_SetDate()
[all …]
Dstm32l4xx_ll_rtc.c375 assert_param(IS_LL_RTC_YEAR(RTC_DateStruct->Year)); in LL_RTC_DATE_Init()
381 assert_param(IS_LL_RTC_YEAR(__LL_RTC_CONVERT_BCD2BIN(RTC_DateStruct->Year))); in LL_RTC_DATE_Init()
396 …g(RTCx, RTC_DateStruct->WeekDay, RTC_DateStruct->Day, RTC_DateStruct->Month, RTC_DateStruct->Year); in LL_RTC_DATE_Init()
401 … __LL_RTC_CONVERT_BIN2BCD(RTC_DateStruct->Month), __LL_RTC_CONVERT_BIN2BCD(RTC_DateStruct->Year)); in LL_RTC_DATE_Init()
434 RTC_DateStruct->Year = 0U; in LL_RTC_DATE_StructInit()
/hal_stm32-latest/stm32cube/stm32c0xx/drivers/src/
Dstm32c0xx_ll_rtc.c358 assert_param(IS_LL_RTC_YEAR(RTC_DateStruct->Year)); in LL_RTC_DATE_Init()
364 assert_param(IS_LL_RTC_YEAR(__LL_RTC_CONVERT_BCD2BIN(RTC_DateStruct->Year))); in LL_RTC_DATE_Init()
380 RTC_DateStruct->Year); in LL_RTC_DATE_Init()
386 __LL_RTC_CONVERT_BIN2BCD(RTC_DateStruct->Year)); in LL_RTC_DATE_Init()
419 RTC_DateStruct->Year = 0U; in LL_RTC_DATE_StructInit()
Dstm32c0xx_hal_rtc.c743 assert_param(IS_RTC_YEAR(sDate->Year)); in HAL_RTC_SetDate()
747 datetmpreg = (((uint32_t)RTC_ByteToBcd2(sDate->Year) << RTC_DR_YU_Pos) | \ in HAL_RTC_SetDate()
754 assert_param(IS_RTC_YEAR(RTC_Bcd2ToByte(sDate->Year))); in HAL_RTC_SetDate()
758 datetmpreg = ((((uint32_t)sDate->Year) << RTC_DR_YU_Pos) | \ in HAL_RTC_SetDate()
816 sDate->Year = (uint8_t)((datetmpreg & (RTC_DR_YT | RTC_DR_YU)) >> RTC_DR_YU_Pos); in HAL_RTC_GetDate()
825 sDate->Year = (uint8_t)RTC_Bcd2ToByte(sDate->Year); in HAL_RTC_GetDate()
/hal_stm32-latest/stm32cube/stm32f0xx/drivers/src/
Dstm32f0xx_ll_rtc.c362 assert_param(IS_LL_RTC_YEAR(RTC_DateStruct->Year)); in LL_RTC_DATE_Init()
368 assert_param(IS_LL_RTC_YEAR(__LL_RTC_CONVERT_BCD2BIN(RTC_DateStruct->Year))); in LL_RTC_DATE_Init()
383 …g(RTCx, RTC_DateStruct->WeekDay, RTC_DateStruct->Day, RTC_DateStruct->Month, RTC_DateStruct->Year); in LL_RTC_DATE_Init()
388 … __LL_RTC_CONVERT_BIN2BCD(RTC_DateStruct->Month), __LL_RTC_CONVERT_BIN2BCD(RTC_DateStruct->Year)); in LL_RTC_DATE_Init()
421 RTC_DateStruct->Year = 0U; in LL_RTC_DATE_StructInit()
Dstm32f0xx_hal_rtc.c889 assert_param(IS_RTC_YEAR(sDate->Year)); in HAL_RTC_SetDate()
893 datetmpreg = (((uint32_t)RTC_ByteToBcd2(sDate->Year) << RTC_DR_YU_Pos) | \ in HAL_RTC_SetDate()
900 assert_param(IS_RTC_YEAR(RTC_Bcd2ToByte(sDate->Year))); in HAL_RTC_SetDate()
904 datetmpreg = ((((uint32_t)sDate->Year) << RTC_DR_YU_Pos) | \ in HAL_RTC_SetDate()
967 sDate->Year = (uint8_t)((datetmpreg & (RTC_DR_YT | RTC_DR_YU)) >> RTC_DR_YU_Pos); in HAL_RTC_GetDate()
976 sDate->Year = (uint8_t)RTC_Bcd2ToByte(sDate->Year); in HAL_RTC_GetDate()
/hal_stm32-latest/stm32cube/stm32wb0x/drivers/src/
Dstm32wb0x_ll_rtc.c353 assert_param(IS_LL_RTC_YEAR(RTC_DateStruct->Year)); in LL_RTC_DATE_Init()
359 assert_param(IS_LL_RTC_YEAR(__LL_RTC_CONVERT_BCD2BIN(RTC_DateStruct->Year))); in LL_RTC_DATE_Init()
374 …g(RTCx, RTC_DateStruct->WeekDay, RTC_DateStruct->Day, RTC_DateStruct->Month, RTC_DateStruct->Year); in LL_RTC_DATE_Init()
379 … __LL_RTC_CONVERT_BIN2BCD(RTC_DateStruct->Month), __LL_RTC_CONVERT_BIN2BCD(RTC_DateStruct->Year)); in LL_RTC_DATE_Init()
412 RTC_DateStruct->Year = 0U; in LL_RTC_DATE_StructInit()
Dstm32wb0x_hal_rtc.c800 assert_param(IS_RTC_YEAR(sDate->Year)); in HAL_RTC_SetDate()
804 datetmpreg = (((uint32_t)RTC_ByteToBcd2(sDate->Year) << RTC_DR_YU_Pos) | \ in HAL_RTC_SetDate()
811 assert_param(IS_RTC_YEAR(RTC_Bcd2ToByte(sDate->Year))); in HAL_RTC_SetDate()
815 datetmpreg = ((((uint32_t)sDate->Year) << RTC_DR_YU_Pos) | \ in HAL_RTC_SetDate()
878 sDate->Year = (uint8_t)((datetmpreg & (RTC_DR_YT | RTC_DR_YU)) >> RTC_DR_YU_Pos); in HAL_RTC_GetDate()
887 sDate->Year = (uint8_t)RTC_Bcd2ToByte(sDate->Year); in HAL_RTC_GetDate()
/hal_stm32-latest/stm32cube/stm32wb0x/drivers/include/
Dstm32wb0x_ll_rtc.h153 uint8_t Year; /*!< Specifies the RTC Date Year. member
1098 __STATIC_INLINE void LL_RTC_DATE_SetYear(RTC_TypeDef *RTCx, uint32_t Year) in LL_RTC_DATE_SetYear() argument
1101 (((Year & 0xF0U) << (RTC_DR_YT_Pos - 4U)) | ((Year & 0x0FU) << RTC_DR_YU_Pos))); in LL_RTC_DATE_SetYear()
1277 …L_RTC_DATE_Config(RTC_TypeDef *RTCx, uint32_t WeekDay, uint32_t Day, uint32_t Month, uint32_t Year) in LL_RTC_DATE_Config() argument
1282 (((Year & 0xF0U) << (RTC_DR_YT_Pos - 4U)) | ((Year & 0x0FU) << RTC_DR_YU_Pos)) | \ in LL_RTC_DATE_Config()
/hal_stm32-latest/stm32cube/stm32f2xx/drivers/src/
Dstm32f2xx_hal_rtc.c840 assert_param(IS_RTC_YEAR(sDate->Year)); in HAL_RTC_SetDate()
844 datetmpreg = (((uint32_t)RTC_ByteToBcd2(sDate->Year) << RTC_DR_YU_Pos) | \ in HAL_RTC_SetDate()
851 assert_param(IS_RTC_YEAR(RTC_Bcd2ToByte(sDate->Year))); in HAL_RTC_SetDate()
855 datetmpreg = ((((uint32_t)sDate->Year) << RTC_DR_YU_Pos) | \ in HAL_RTC_SetDate()
918 sDate->Year = (uint8_t)((datetmpreg & (RTC_DR_YT | RTC_DR_YU)) >> RTC_DR_YU_Pos); in HAL_RTC_GetDate()
927 sDate->Year = (uint8_t)RTC_Bcd2ToByte(sDate->Year); in HAL_RTC_GetDate()
Dstm32f2xx_ll_rtc.c356 assert_param(IS_LL_RTC_YEAR(RTC_DateStruct->Year)); in LL_RTC_DATE_Init()
362 assert_param(IS_LL_RTC_YEAR(__LL_RTC_CONVERT_BCD2BIN(RTC_DateStruct->Year))); in LL_RTC_DATE_Init()
377 …g(RTCx, RTC_DateStruct->WeekDay, RTC_DateStruct->Day, RTC_DateStruct->Month, RTC_DateStruct->Year); in LL_RTC_DATE_Init()
382 … __LL_RTC_CONVERT_BIN2BCD(RTC_DateStruct->Month), __LL_RTC_CONVERT_BIN2BCD(RTC_DateStruct->Year)); in LL_RTC_DATE_Init()
407 RTC_DateStruct->Year = 0U; in LL_RTC_DATE_StructInit()
/hal_stm32-latest/stm32cube/stm32c0xx/drivers/include/
Dstm32c0xx_ll_rtc.h158 uint8_t Year; /*!< Specifies the RTC Date Year. member
1228 __STATIC_INLINE void LL_RTC_DATE_SetYear(RTC_TypeDef *RTCx, uint32_t Year) in LL_RTC_DATE_SetYear() argument
1231 (((Year & 0xF0U) << (RTC_DR_YT_Pos - 4U)) | ((Year & 0x0FU) << RTC_DR_YU_Pos))); in LL_RTC_DATE_SetYear()
1408 uint32_t Year) in LL_RTC_DATE_Config() argument
1413 (((Year & 0xF0U) << (RTC_DR_YT_Pos - 4U)) | ((Year & 0x0FU) << RTC_DR_YU_Pos)) | \ in LL_RTC_DATE_Config()
/hal_stm32-latest/stm32cube/stm32h7rsxx/drivers/src/
Dstm32h7rsxx_ll_rtc.c376 assert_param(IS_LL_RTC_YEAR(RTC_DateStruct->Year)); in LL_RTC_DATE_Init()
382 assert_param(IS_LL_RTC_YEAR(__LL_RTC_CONVERT_BCD2BIN(RTC_DateStruct->Year))); in LL_RTC_DATE_Init()
398 RTC_DateStruct->Year); in LL_RTC_DATE_Init()
404 __LL_RTC_CONVERT_BIN2BCD(RTC_DateStruct->Year)); in LL_RTC_DATE_Init()
437 RTC_DateStruct->Year = 0U; in LL_RTC_DATE_StructInit()
/hal_stm32-latest/stm32cube/stm32u0xx/drivers/src/
Dstm32u0xx_ll_rtc.c378 assert_param(IS_LL_RTC_YEAR(RTC_DateStruct->Year)); in LL_RTC_DATE_Init()
384 assert_param(IS_LL_RTC_YEAR(__LL_RTC_CONVERT_BCD2BIN(RTC_DateStruct->Year))); in LL_RTC_DATE_Init()
400 RTC_DateStruct->Year); in LL_RTC_DATE_Init()
406 __LL_RTC_CONVERT_BIN2BCD(RTC_DateStruct->Year)); in LL_RTC_DATE_Init()
439 RTC_DateStruct->Year = 0U; in LL_RTC_DATE_StructInit()
/hal_stm32-latest/stm32cube/stm32f3xx/drivers/src/
Dstm32f3xx_ll_rtc.c368 assert_param(IS_LL_RTC_YEAR(RTC_DateStruct->Year)); in LL_RTC_DATE_Init()
374 assert_param(IS_LL_RTC_YEAR(__LL_RTC_CONVERT_BCD2BIN(RTC_DateStruct->Year))); in LL_RTC_DATE_Init()
389 …g(RTCx, RTC_DateStruct->WeekDay, RTC_DateStruct->Day, RTC_DateStruct->Month, RTC_DateStruct->Year); in LL_RTC_DATE_Init()
394 … __LL_RTC_CONVERT_BIN2BCD(RTC_DateStruct->Month), __LL_RTC_CONVERT_BIN2BCD(RTC_DateStruct->Year)); in LL_RTC_DATE_Init()
427 RTC_DateStruct->Year = 0U; in LL_RTC_DATE_StructInit()
/hal_stm32-latest/stm32cube/stm32f4xx/drivers/src/
Dstm32f4xx_ll_rtc.c368 assert_param(IS_LL_RTC_YEAR(RTC_DateStruct->Year)); in LL_RTC_DATE_Init()
374 assert_param(IS_LL_RTC_YEAR(__LL_RTC_CONVERT_BCD2BIN(RTC_DateStruct->Year))); in LL_RTC_DATE_Init()
389 …g(RTCx, RTC_DateStruct->WeekDay, RTC_DateStruct->Day, RTC_DateStruct->Month, RTC_DateStruct->Year); in LL_RTC_DATE_Init()
394 … __LL_RTC_CONVERT_BIN2BCD(RTC_DateStruct->Month), __LL_RTC_CONVERT_BIN2BCD(RTC_DateStruct->Year)); in LL_RTC_DATE_Init()
427 RTC_DateStruct->Year = 0U; in LL_RTC_DATE_StructInit()
/hal_stm32-latest/stm32cube/stm32wbxx/drivers/src/
Dstm32wbxx_ll_rtc.c388 assert_param(IS_LL_RTC_YEAR(RTC_DateStruct->Year)); in LL_RTC_DATE_Init()
394 assert_param(IS_LL_RTC_YEAR(__LL_RTC_CONVERT_BCD2BIN(RTC_DateStruct->Year))); in LL_RTC_DATE_Init()
410 RTC_DateStruct->Year); in LL_RTC_DATE_Init()
416 __LL_RTC_CONVERT_BIN2BCD(RTC_DateStruct->Year)); in LL_RTC_DATE_Init()
449 RTC_DateStruct->Year = 0U; in LL_RTC_DATE_StructInit()
/hal_stm32-latest/stm32cube/stm32f7xx/drivers/src/
Dstm32f7xx_ll_rtc.c371 assert_param(IS_LL_RTC_YEAR(RTC_DateStruct->Year)); in LL_RTC_DATE_Init()
377 assert_param(IS_LL_RTC_YEAR(__LL_RTC_CONVERT_BCD2BIN(RTC_DateStruct->Year))); in LL_RTC_DATE_Init()
392 …g(RTCx, RTC_DateStruct->WeekDay, RTC_DateStruct->Day, RTC_DateStruct->Month, RTC_DateStruct->Year); in LL_RTC_DATE_Init()
397 … __LL_RTC_CONVERT_BIN2BCD(RTC_DateStruct->Month), __LL_RTC_CONVERT_BIN2BCD(RTC_DateStruct->Year)); in LL_RTC_DATE_Init()
430 RTC_DateStruct->Year = 0U; in LL_RTC_DATE_StructInit()
/hal_stm32-latest/stm32cube/stm32l0xx/drivers/src/
Dstm32l0xx_ll_rtc.c371 assert_param(IS_LL_RTC_YEAR(RTC_DateStruct->Year)); in LL_RTC_DATE_Init()
377 assert_param(IS_LL_RTC_YEAR(__LL_RTC_CONVERT_BCD2BIN(RTC_DateStruct->Year))); in LL_RTC_DATE_Init()
392 …g(RTCx, RTC_DateStruct->WeekDay, RTC_DateStruct->Day, RTC_DateStruct->Month, RTC_DateStruct->Year); in LL_RTC_DATE_Init()
397 … __LL_RTC_CONVERT_BIN2BCD(RTC_DateStruct->Month), __LL_RTC_CONVERT_BIN2BCD(RTC_DateStruct->Year)); in LL_RTC_DATE_Init()
430 RTC_DateStruct->Year = 0U; in LL_RTC_DATE_StructInit()
/hal_stm32-latest/stm32cube/stm32n6xx/drivers/src/
Dstm32n6xx_ll_rtc.c381 assert_param(IS_LL_RTC_YEAR(RTC_DateStruct->Year)); in LL_RTC_DATE_Init()
387 assert_param(IS_LL_RTC_YEAR(__LL_RTC_CONVERT_BCD2BIN(RTC_DateStruct->Year))); in LL_RTC_DATE_Init()
403 RTC_DateStruct->Year); in LL_RTC_DATE_Init()
409 __LL_RTC_CONVERT_BIN2BCD(RTC_DateStruct->Year)); in LL_RTC_DATE_Init()
442 RTC_DateStruct->Year = 0U; in LL_RTC_DATE_StructInit()
/hal_stm32-latest/stm32cube/stm32h7xx/drivers/src/
Dstm32h7xx_ll_rtc.c387 assert_param(IS_LL_RTC_YEAR(RTC_DateStruct->Year)); in LL_RTC_DATE_Init()
393 assert_param(IS_LL_RTC_YEAR(__LL_RTC_CONVERT_BCD2BIN(RTC_DateStruct->Year))); in LL_RTC_DATE_Init()
408 …g(RTCx, RTC_DateStruct->WeekDay, RTC_DateStruct->Day, RTC_DateStruct->Month, RTC_DateStruct->Year); in LL_RTC_DATE_Init()
413 … __LL_RTC_CONVERT_BIN2BCD(RTC_DateStruct->Month), __LL_RTC_CONVERT_BIN2BCD(RTC_DateStruct->Year)); in LL_RTC_DATE_Init()
446 RTC_DateStruct->Year = 0U; in LL_RTC_DATE_StructInit()
/hal_stm32-latest/stm32cube/stm32h5xx/drivers/src/
Dstm32h5xx_ll_rtc.c381 assert_param(IS_LL_RTC_YEAR(RTC_DateStruct->Year)); in LL_RTC_DATE_Init()
387 assert_param(IS_LL_RTC_YEAR(__LL_RTC_CONVERT_BCD2BIN(RTC_DateStruct->Year))); in LL_RTC_DATE_Init()
403 RTC_DateStruct->Year); in LL_RTC_DATE_Init()
409 __LL_RTC_CONVERT_BIN2BCD(RTC_DateStruct->Year)); in LL_RTC_DATE_Init()
442 RTC_DateStruct->Year = 0U; in LL_RTC_DATE_StructInit()
/hal_stm32-latest/stm32cube/stm32g0xx/drivers/src/
Dstm32g0xx_ll_rtc.c371 assert_param(IS_LL_RTC_YEAR(RTC_DateStruct->Year)); in LL_RTC_DATE_Init()
377 assert_param(IS_LL_RTC_YEAR(__LL_RTC_CONVERT_BCD2BIN(RTC_DateStruct->Year))); in LL_RTC_DATE_Init()
392 …g(RTCx, RTC_DateStruct->WeekDay, RTC_DateStruct->Day, RTC_DateStruct->Month, RTC_DateStruct->Year); in LL_RTC_DATE_Init()
397 … __LL_RTC_CONVERT_BIN2BCD(RTC_DateStruct->Month), __LL_RTC_CONVERT_BIN2BCD(RTC_DateStruct->Year)); in LL_RTC_DATE_Init()
430 RTC_DateStruct->Year = 0U; in LL_RTC_DATE_StructInit()
/hal_stm32-latest/stm32cube/stm32l1xx/drivers/src/
Dstm32l1xx_ll_rtc.c376 assert_param(IS_LL_RTC_YEAR(RTC_DateStruct->Year)); in LL_RTC_DATE_Init()
382 assert_param(IS_LL_RTC_YEAR(__LL_RTC_CONVERT_BCD2BIN(RTC_DateStruct->Year))); in LL_RTC_DATE_Init()
397 …g(RTCx, RTC_DateStruct->WeekDay, RTC_DateStruct->Day, RTC_DateStruct->Month, RTC_DateStruct->Year); in LL_RTC_DATE_Init()
402 … __LL_RTC_CONVERT_BIN2BCD(RTC_DateStruct->Month), __LL_RTC_CONVERT_BIN2BCD(RTC_DateStruct->Year)); in LL_RTC_DATE_Init()
439 RTC_DateStruct->Year = 0U; in LL_RTC_DATE_StructInit()

12345