Home
last modified time | relevance | path

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

/loramac-node-latest/src/boards/mcu/stm32/STM32L1xx_HAL_Driver/Src/
Dstm32l1xx_hal_rtc.c488 assert_param(IS_RTC_YEAR(sDate->Year)); in HAL_RTC_SetDate()
492 datetmpreg = (((uint32_t)RTC_ByteToBcd2(sDate->Year) << 16) | \ in HAL_RTC_SetDate()
499 assert_param(IS_RTC_YEAR(RTC_Bcd2ToByte(sDate->Year))); in HAL_RTC_SetDate()
505 datetmpreg = ((((uint32_t)sDate->Year) << 16) | \ in HAL_RTC_SetDate()
587 sDate->Year = (uint8_t)((datetmpreg & (RTC_DR_YT | RTC_DR_YU)) >> 16); in HAL_RTC_GetDate()
596 sDate->Year = (uint8_t)RTC_Bcd2ToByte(sDate->Year); in HAL_RTC_GetDate()
Dstm32l1xx_ll_rtc.c412 assert_param(IS_LL_RTC_YEAR(RTC_DateStruct->Year)); in LL_RTC_DATE_Init()
418 assert_param(IS_LL_RTC_YEAR(__LL_RTC_CONVERT_BCD2BIN(RTC_DateStruct->Year))); in LL_RTC_DATE_Init()
433 …g(RTCx, RTC_DateStruct->WeekDay, RTC_DateStruct->Day, RTC_DateStruct->Month, RTC_DateStruct->Year); in LL_RTC_DATE_Init()
438 … __LL_RTC_CONVERT_BIN2BCD(RTC_DateStruct->Month), __LL_RTC_CONVERT_BIN2BCD(RTC_DateStruct->Year)); in LL_RTC_DATE_Init()
475 RTC_DateStruct->Year = 0U; in LL_RTC_DATE_StructInit()
Dstm32l1xx_hal_rtc_ex.c1036 sTimeStampDate->Year = 0; in HAL_RTCEx_GetTimeStamp()
/loramac-node-latest/src/boards/NucleoL476/
Drtc-board.c166 date.Year = 0; in RtcInit()
377 if( date.Year % 4 == 0 ) in RtcStartAlarm()
446 seconds = DIVC( ( DAYS_IN_YEAR * 3 + DAYS_IN_LEAP_YEAR ) * date->Year , 4 ); in RtcGetCalendarValue()
448 …correction = ( ( date->Year % 4 ) == 0 ) ? DAYS_IN_MONTH_CORRECTION_LEAP : DAYS_IN_MONTH_CORRECTIO… in RtcGetCalendarValue()
/loramac-node-latest/src/boards/SKiM881AXL/
Drtc-board.c167 date.Year = 0; in RtcInit()
378 if( date.Year % 4 == 0 ) in RtcStartAlarm()
447 seconds = DIVC( ( DAYS_IN_YEAR * 3 + DAYS_IN_LEAP_YEAR ) * date->Year , 4 ); in RtcGetCalendarValue()
449 …correction = ( ( date->Year % 4 ) == 0 ) ? DAYS_IN_MONTH_CORRECTION_LEAP : DAYS_IN_MONTH_CORRECTIO… in RtcGetCalendarValue()
/loramac-node-latest/src/boards/NucleoL152/
Drtc-board.c166 date.Year = 0; in RtcInit()
377 if( date.Year % 4 == 0 ) in RtcStartAlarm()
446 seconds = DIVC( ( DAYS_IN_YEAR * 3 + DAYS_IN_LEAP_YEAR ) * date->Year , 4 ); in RtcGetCalendarValue()
448 …correction = ( ( date->Year % 4 ) == 0 ) ? DAYS_IN_MONTH_CORRECTION_LEAP : DAYS_IN_MONTH_CORRECTIO… in RtcGetCalendarValue()
/loramac-node-latest/src/boards/NucleoL073/
Drtc-board.c167 date.Year = 0; in RtcInit()
378 if( date.Year % 4 == 0 ) in RtcStartAlarm()
447 seconds = DIVC( ( DAYS_IN_YEAR * 3 + DAYS_IN_LEAP_YEAR ) * date->Year , 4 ); in RtcGetCalendarValue()
449 …correction = ( ( date->Year % 4 ) == 0 ) ? DAYS_IN_MONTH_CORRECTION_LEAP : DAYS_IN_MONTH_CORRECTIO… in RtcGetCalendarValue()
/loramac-node-latest/src/boards/NAMote72/
Drtc-board.c166 date.Year = 0; in RtcInit()
377 if( date.Year % 4 == 0 ) in RtcStartAlarm()
446 seconds = DIVC( ( DAYS_IN_YEAR * 3 + DAYS_IN_LEAP_YEAR ) * date->Year , 4 ); in RtcGetCalendarValue()
448 …correction = ( ( date->Year % 4 ) == 0 ) ? DAYS_IN_MONTH_CORRECTION_LEAP : DAYS_IN_MONTH_CORRECTIO… in RtcGetCalendarValue()
/loramac-node-latest/src/boards/B-L072Z-LRWAN1/
Drtc-board.c167 date.Year = 0; in RtcInit()
378 if( date.Year % 4 == 0 ) in RtcStartAlarm()
447 seconds = DIVC( ( DAYS_IN_YEAR * 3 + DAYS_IN_LEAP_YEAR ) * date->Year , 4 ); in RtcGetCalendarValue()
449 …correction = ( ( date->Year % 4 ) == 0 ) ? DAYS_IN_MONTH_CORRECTION_LEAP : DAYS_IN_MONTH_CORRECTIO… in RtcGetCalendarValue()
/loramac-node-latest/src/boards/SKiM980A/
Drtc-board.c166 date.Year = 0; in RtcInit()
377 if( date.Year % 4 == 0 ) in RtcStartAlarm()
446 seconds = DIVC( ( DAYS_IN_YEAR * 3 + DAYS_IN_LEAP_YEAR ) * date->Year , 4 ); in RtcGetCalendarValue()
448 …correction = ( ( date->Year % 4 ) == 0 ) ? DAYS_IN_MONTH_CORRECTION_LEAP : DAYS_IN_MONTH_CORRECTIO… in RtcGetCalendarValue()
/loramac-node-latest/src/boards/SKiM880B/
Drtc-board.c166 date.Year = 0; in RtcInit()
377 if( date.Year % 4 == 0 ) in RtcStartAlarm()
446 seconds = DIVC( ( DAYS_IN_YEAR * 3 + DAYS_IN_LEAP_YEAR ) * date->Year , 4 ); in RtcGetCalendarValue()
448 …correction = ( ( date->Year % 4 ) == 0 ) ? DAYS_IN_MONTH_CORRECTION_LEAP : DAYS_IN_MONTH_CORRECTIO… in RtcGetCalendarValue()
/loramac-node-latest/src/boards/mcu/stm32/STM32L4xx_HAL_Driver/Src/
Dstm32l4xx_ll_rtc.c404 assert_param(IS_LL_RTC_YEAR(RTC_DateStruct->Year)); in LL_RTC_DATE_Init()
410 assert_param(IS_LL_RTC_YEAR(__LL_RTC_CONVERT_BCD2BIN(RTC_DateStruct->Year))); in LL_RTC_DATE_Init()
425 …g(RTCx, RTC_DateStruct->WeekDay, RTC_DateStruct->Day, RTC_DateStruct->Month, RTC_DateStruct->Year); in LL_RTC_DATE_Init()
430 … __LL_RTC_CONVERT_BIN2BCD(RTC_DateStruct->Month), __LL_RTC_CONVERT_BIN2BCD(RTC_DateStruct->Year)); in LL_RTC_DATE_Init()
463 RTC_DateStruct->Year = 0U; in LL_RTC_DATE_StructInit()
Dstm32l4xx_hal_rtc.c1009 assert_param(IS_RTC_YEAR(sDate->Year)); in HAL_RTC_SetDate()
1013 datetmpreg = (((uint32_t)RTC_ByteToBcd2(sDate->Year) << RTC_DR_YU_Pos) | \ in HAL_RTC_SetDate()
1020 assert_param(IS_RTC_YEAR(RTC_Bcd2ToByte(sDate->Year))); in HAL_RTC_SetDate()
1024 datetmpreg = ((((uint32_t)sDate->Year) << RTC_DR_YU_Pos) | \ in HAL_RTC_SetDate()
1112 sDate->Year = (uint8_t)((datetmpreg & (RTC_DR_YT | RTC_DR_YU)) >> RTC_DR_YU_Pos); in HAL_RTC_GetDate()
1121 sDate->Year = (uint8_t)RTC_Bcd2ToByte(sDate->Year); in HAL_RTC_GetDate()
Dstm32l4xx_hal_rtc_ex.c447 sTimeStampDate->Year = 0U; in HAL_RTCEx_GetTimeStamp()
/loramac-node-latest/src/boards/mcu/stm32/STM32L0xx_HAL_Driver/Src/
Dstm32l0xx_ll_rtc.c405 assert_param(IS_LL_RTC_YEAR(RTC_DateStruct->Year)); in LL_RTC_DATE_Init()
411 assert_param(IS_LL_RTC_YEAR(__LL_RTC_CONVERT_BCD2BIN(RTC_DateStruct->Year))); in LL_RTC_DATE_Init()
426 …g(RTCx, RTC_DateStruct->WeekDay, RTC_DateStruct->Day, RTC_DateStruct->Month, RTC_DateStruct->Year); in LL_RTC_DATE_Init()
431 … __LL_RTC_CONVERT_BIN2BCD(RTC_DateStruct->Month), __LL_RTC_CONVERT_BIN2BCD(RTC_DateStruct->Year)); in LL_RTC_DATE_Init()
464 RTC_DateStruct->Year = 0U; in LL_RTC_DATE_StructInit()
Dstm32l0xx_hal_rtc.c609 assert_param(IS_RTC_YEAR(sDate->Year)); in HAL_RTC_SetDate()
613 datetmpreg = (((uint32_t)RTC_ByteToBcd2(sDate->Year) << 16U) | \ in HAL_RTC_SetDate()
620 assert_param(IS_RTC_YEAR(RTC_Bcd2ToByte(sDate->Year))); in HAL_RTC_SetDate()
626 datetmpreg = ((((uint32_t)sDate->Year) << 16U) | \ in HAL_RTC_SetDate()
710 sDate->Year = (uint8_t)((datetmpreg & (RTC_DR_YT | RTC_DR_YU)) >> 16U); in HAL_RTC_GetDate()
719 sDate->Year = (uint8_t)RTC_Bcd2ToByte(sDate->Year); in HAL_RTC_GetDate()
Dstm32l0xx_hal_rtc_ex.c337 sTimeStampDate->Year = 0U; in HAL_RTCEx_GetTimeStamp()
/loramac-node-latest/src/boards/mcu/stm32/STM32L1xx_HAL_Driver/Inc/
Dstm32l1xx_ll_rtc.h170 uint8_t Year; /*!< Specifies the RTC Date Year. member
1405 __STATIC_INLINE void LL_RTC_DATE_SetYear(RTC_TypeDef *RTCx, uint32_t Year) in LL_RTC_DATE_SetYear() argument
1408 (((Year & 0xF0U) << (RTC_DR_YT_Pos - 4U)) | ((Year & 0x0FU) << RTC_DR_YU_Pos))); in LL_RTC_DATE_SetYear()
1593 …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
1598 (((Year & 0xF0U) << (RTC_DR_YT_Pos - 4U)) | ((Year & 0x0FU) << RTC_DR_YU_Pos)) | \ in LL_RTC_DATE_Config()
Dstm32l1xx_hal_rtc.h111 uint8_t Year; /*!< Specifies the RTC Date Year. member
/loramac-node-latest/src/boards/mcu/stm32/STM32L0xx_HAL_Driver/Inc/
Dstm32l0xx_ll_rtc.h208 uint8_t Year; /*!< Specifies the RTC Date Year. member
1412 __STATIC_INLINE void LL_RTC_DATE_SetYear(RTC_TypeDef *RTCx, uint32_t Year) in LL_RTC_DATE_SetYear() argument
1415 … (((Year & 0xF0U) << (RTC_POSITION_DR_YT - 4U)) | ((Year & 0x0FU) << RTC_POSITION_DR_YU))); in LL_RTC_DATE_SetYear()
1600 …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
1605 … (((Year & 0xF0U) << (RTC_POSITION_DR_YT - 4U)) | ((Year & 0x0FU) << RTC_POSITION_DR_YU)) | \ in LL_RTC_DATE_Config()
Dstm32l0xx_hal_rtc.h150 uint8_t Year; /*!< Specifies the RTC Date Year. member
/loramac-node-latest/src/boards/mcu/stm32/STM32L4xx_HAL_Driver/Inc/
Dstm32l4xx_ll_rtc.h170 uint8_t Year; /*!< Specifies the RTC Date Year. member
1675 __STATIC_INLINE void LL_RTC_DATE_SetYear(RTC_TypeDef *RTCx, uint32_t Year) in LL_RTC_DATE_SetYear() argument
1678 (((Year & 0xF0U) << (RTC_DR_YT_Pos - 4U)) | ((Year & 0x0FU) << RTC_DR_YU_Pos))); in LL_RTC_DATE_SetYear()
1854 …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
1859 (((Year & 0xF0U) << (RTC_DR_YT_Pos - 4U)) | ((Year & 0x0FU) << RTC_DR_YU_Pos)) | \ in LL_RTC_DATE_Config()
Dstm32l4xx_hal_rtc.h154 uint8_t Year; /*!< Specifies the RTC Date Year. member