/loramac-node-latest/src/boards/mcu/stm32/STM32L1xx_HAL_Driver/Src/ |
D | stm32l1xx_hal_rtc.c | 479 if((Format == RTC_FORMAT_BIN) && ((sDate->Month & 0x10) == 0x10)) in HAL_RTC_SetDate() 481 sDate->Month = (uint8_t)((sDate->Month & (uint8_t)~(0x10)) + (uint8_t)0x0A); in HAL_RTC_SetDate() 489 assert_param(IS_RTC_MONTH(sDate->Month)); in HAL_RTC_SetDate() 493 ((uint32_t)RTC_ByteToBcd2(sDate->Month) << 8) | \ in HAL_RTC_SetDate() 500 datetmpreg = RTC_Bcd2ToByte(sDate->Month); in HAL_RTC_SetDate() 506 (((uint32_t)sDate->Month) << 8) | \ in HAL_RTC_SetDate() 588 sDate->Month = (uint8_t)((datetmpreg & (RTC_DR_MT | RTC_DR_MU)) >> 8); in HAL_RTC_GetDate() 597 sDate->Month = (uint8_t)RTC_Bcd2ToByte(sDate->Month); in HAL_RTC_GetDate()
|
D | stm32l1xx_ll_rtc.c | 406 if ((RTC_Format == LL_RTC_FORMAT_BIN) && ((RTC_DateStruct->Month & 0x10U) == 0x10U)) in LL_RTC_DATE_Init() 408 RTC_DateStruct->Month = (RTC_DateStruct->Month & (uint32_t)~(0x10U)) + 0x0AU; in LL_RTC_DATE_Init() 413 assert_param(IS_LL_RTC_MONTH(RTC_DateStruct->Month)); in LL_RTC_DATE_Init() 419 assert_param(IS_LL_RTC_MONTH(__LL_RTC_CONVERT_BCD2BIN(RTC_DateStruct->Month))); in LL_RTC_DATE_Init() 433 …LL_RTC_DATE_Config(RTCx, RTC_DateStruct->WeekDay, RTC_DateStruct->Day, RTC_DateStruct->Month, RTC_… 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() 474 RTC_DateStruct->Month = LL_RTC_MONTH_JANUARY; in LL_RTC_DATE_StructInit()
|
D | stm32l1xx_hal_rtc_ex.c | 1037 sTimeStampDate->Month = (uint8_t)((tmpdate & (RTC_DR_MT | RTC_DR_MU)) >> 8); in HAL_RTCEx_GetTimeStamp() 1050 sTimeStampDate->Month = (uint8_t)RTC_Bcd2ToByte(sTimeStampDate->Month); in HAL_RTCEx_GetTimeStamp()
|
/loramac-node-latest/src/boards/NucleoL476/ |
D | rtc-board.c | 167 date.Month = RTC_MONTH_JANUARY; in RtcInit() 379 if( rtcAlarmDays > DaysInMonthLeapYear[date.Month - 1] ) in RtcStartAlarm() 381 rtcAlarmDays = rtcAlarmDays % DaysInMonthLeapYear[date.Month - 1]; in RtcStartAlarm() 386 if( rtcAlarmDays > DaysInMonth[date.Month - 1] ) in RtcStartAlarm() 388 rtcAlarmDays = rtcAlarmDays % DaysInMonth[date.Month - 1]; in RtcStartAlarm() 450 …seconds += ( DIVC( ( date->Month-1 ) * ( 30 + 31 ), 2 ) - ( ( ( correction >> ( ( date->Month - 1 … in RtcGetCalendarValue()
|
/loramac-node-latest/src/boards/SKiM881AXL/ |
D | rtc-board.c | 168 date.Month = RTC_MONTH_JANUARY; in RtcInit() 380 if( rtcAlarmDays > DaysInMonthLeapYear[date.Month - 1] ) in RtcStartAlarm() 382 rtcAlarmDays = rtcAlarmDays % DaysInMonthLeapYear[date.Month - 1]; in RtcStartAlarm() 387 if( rtcAlarmDays > DaysInMonth[date.Month - 1] ) in RtcStartAlarm() 389 rtcAlarmDays = rtcAlarmDays % DaysInMonth[date.Month - 1]; in RtcStartAlarm() 451 …seconds += ( DIVC( ( date->Month-1 ) * ( 30 + 31 ), 2 ) - ( ( ( correction >> ( ( date->Month - 1 … in RtcGetCalendarValue()
|
/loramac-node-latest/src/boards/NucleoL152/ |
D | rtc-board.c | 167 date.Month = RTC_MONTH_JANUARY; in RtcInit() 379 if( rtcAlarmDays > DaysInMonthLeapYear[date.Month - 1] ) in RtcStartAlarm() 381 rtcAlarmDays = rtcAlarmDays % DaysInMonthLeapYear[date.Month - 1]; in RtcStartAlarm() 386 if( rtcAlarmDays > DaysInMonth[date.Month - 1] ) in RtcStartAlarm() 388 rtcAlarmDays = rtcAlarmDays % DaysInMonth[date.Month - 1]; in RtcStartAlarm() 450 …seconds += ( DIVC( ( date->Month-1 ) * ( 30 + 31 ), 2 ) - ( ( ( correction >> ( ( date->Month - 1 … in RtcGetCalendarValue()
|
/loramac-node-latest/src/boards/NucleoL073/ |
D | rtc-board.c | 168 date.Month = RTC_MONTH_JANUARY; in RtcInit() 380 if( rtcAlarmDays > DaysInMonthLeapYear[date.Month - 1] ) in RtcStartAlarm() 382 rtcAlarmDays = rtcAlarmDays % DaysInMonthLeapYear[date.Month - 1]; in RtcStartAlarm() 387 if( rtcAlarmDays > DaysInMonth[date.Month - 1] ) in RtcStartAlarm() 389 rtcAlarmDays = rtcAlarmDays % DaysInMonth[date.Month - 1]; in RtcStartAlarm() 451 …seconds += ( DIVC( ( date->Month-1 ) * ( 30 + 31 ), 2 ) - ( ( ( correction >> ( ( date->Month - 1 … in RtcGetCalendarValue()
|
/loramac-node-latest/src/boards/NAMote72/ |
D | rtc-board.c | 167 date.Month = RTC_MONTH_JANUARY; in RtcInit() 379 if( rtcAlarmDays > DaysInMonthLeapYear[date.Month - 1] ) in RtcStartAlarm() 381 rtcAlarmDays = rtcAlarmDays % DaysInMonthLeapYear[date.Month - 1]; in RtcStartAlarm() 386 if( rtcAlarmDays > DaysInMonth[date.Month - 1] ) in RtcStartAlarm() 388 rtcAlarmDays = rtcAlarmDays % DaysInMonth[date.Month - 1]; in RtcStartAlarm() 450 …seconds += ( DIVC( ( date->Month-1 ) * ( 30 + 31 ), 2 ) - ( ( ( correction >> ( ( date->Month - 1 … in RtcGetCalendarValue()
|
/loramac-node-latest/src/boards/B-L072Z-LRWAN1/ |
D | rtc-board.c | 168 date.Month = RTC_MONTH_JANUARY; in RtcInit() 380 if( rtcAlarmDays > DaysInMonthLeapYear[date.Month - 1] ) in RtcStartAlarm() 382 rtcAlarmDays = rtcAlarmDays % DaysInMonthLeapYear[date.Month - 1]; in RtcStartAlarm() 387 if( rtcAlarmDays > DaysInMonth[date.Month - 1] ) in RtcStartAlarm() 389 rtcAlarmDays = rtcAlarmDays % DaysInMonth[date.Month - 1]; in RtcStartAlarm() 451 …seconds += ( DIVC( ( date->Month-1 ) * ( 30 + 31 ), 2 ) - ( ( ( correction >> ( ( date->Month - 1 … in RtcGetCalendarValue()
|
/loramac-node-latest/src/boards/SKiM980A/ |
D | rtc-board.c | 167 date.Month = RTC_MONTH_JANUARY; in RtcInit() 379 if( rtcAlarmDays > DaysInMonthLeapYear[date.Month - 1] ) in RtcStartAlarm() 381 rtcAlarmDays = rtcAlarmDays % DaysInMonthLeapYear[date.Month - 1]; in RtcStartAlarm() 386 if( rtcAlarmDays > DaysInMonth[date.Month - 1] ) in RtcStartAlarm() 388 rtcAlarmDays = rtcAlarmDays % DaysInMonth[date.Month - 1]; in RtcStartAlarm() 450 …seconds += ( DIVC( ( date->Month-1 ) * ( 30 + 31 ), 2 ) - ( ( ( correction >> ( ( date->Month - 1 … in RtcGetCalendarValue()
|
/loramac-node-latest/src/boards/SKiM880B/ |
D | rtc-board.c | 167 date.Month = RTC_MONTH_JANUARY; in RtcInit() 379 if( rtcAlarmDays > DaysInMonthLeapYear[date.Month - 1] ) in RtcStartAlarm() 381 rtcAlarmDays = rtcAlarmDays % DaysInMonthLeapYear[date.Month - 1]; in RtcStartAlarm() 386 if( rtcAlarmDays > DaysInMonth[date.Month - 1] ) in RtcStartAlarm() 388 rtcAlarmDays = rtcAlarmDays % DaysInMonth[date.Month - 1]; in RtcStartAlarm() 450 …seconds += ( DIVC( ( date->Month-1 ) * ( 30 + 31 ), 2 ) - ( ( ( correction >> ( ( date->Month - 1 … in RtcGetCalendarValue()
|
/loramac-node-latest/src/boards/mcu/stm32/STM32L4xx_HAL_Driver/Src/ |
D | stm32l4xx_ll_rtc.c | 398 if ((RTC_Format == LL_RTC_FORMAT_BIN) && ((RTC_DateStruct->Month & 0x10U) == 0x10U)) in LL_RTC_DATE_Init() 400 RTC_DateStruct->Month = (uint8_t)((RTC_DateStruct->Month & (uint32_t)~(0x10U)) + 0x0AU); in LL_RTC_DATE_Init() 405 assert_param(IS_LL_RTC_MONTH(RTC_DateStruct->Month)); in LL_RTC_DATE_Init() 411 assert_param(IS_LL_RTC_MONTH(__LL_RTC_CONVERT_BCD2BIN(RTC_DateStruct->Month))); in LL_RTC_DATE_Init() 425 …LL_RTC_DATE_Config(RTCx, RTC_DateStruct->WeekDay, RTC_DateStruct->Day, RTC_DateStruct->Month, RTC_… 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() 462 RTC_DateStruct->Month = LL_RTC_MONTH_JANUARY; in LL_RTC_DATE_StructInit()
|
D | stm32l4xx_hal_rtc.c | 1000 if((Format == RTC_FORMAT_BIN) && ((sDate->Month & 0x10U) == 0x10U)) in HAL_RTC_SetDate() 1002 sDate->Month = (uint8_t)((sDate->Month & (uint8_t)~(0x10U)) + (uint8_t)0x0AU); in HAL_RTC_SetDate() 1010 assert_param(IS_RTC_MONTH(sDate->Month)); in HAL_RTC_SetDate() 1014 ((uint32_t)RTC_ByteToBcd2(sDate->Month) << RTC_DR_MU_Pos) | \ in HAL_RTC_SetDate() 1021 assert_param(IS_RTC_MONTH(RTC_Bcd2ToByte(sDate->Month))); in HAL_RTC_SetDate() 1025 (((uint32_t)sDate->Month) << RTC_DR_MU_Pos) | \ in HAL_RTC_SetDate() 1113 sDate->Month = (uint8_t)((datetmpreg & (RTC_DR_MT | RTC_DR_MU)) >> RTC_DR_MU_Pos); in HAL_RTC_GetDate() 1122 sDate->Month = (uint8_t)RTC_Bcd2ToByte(sDate->Month); in HAL_RTC_GetDate()
|
D | stm32l4xx_hal_rtc_ex.c | 448 sTimeStampDate->Month = (uint8_t)((tmpdate & (RTC_TSDR_MT | RTC_TSDR_MU)) >> RTC_TSDR_MU_Pos); in HAL_RTCEx_GetTimeStamp() 461 sTimeStampDate->Month = (uint8_t)RTC_Bcd2ToByte(sTimeStampDate->Month); in HAL_RTCEx_GetTimeStamp()
|
/loramac-node-latest/src/boards/mcu/stm32/STM32L0xx_HAL_Driver/Src/ |
D | stm32l0xx_ll_rtc.c | 399 if ((RTC_Format == LL_RTC_FORMAT_BIN) && ((RTC_DateStruct->Month & 0x10U) == 0x10U)) in LL_RTC_DATE_Init() 401 RTC_DateStruct->Month = (RTC_DateStruct->Month & (uint32_t)~(0x10U)) + 0x0AU; in LL_RTC_DATE_Init() 406 assert_param(IS_LL_RTC_MONTH(RTC_DateStruct->Month)); in LL_RTC_DATE_Init() 412 assert_param(IS_LL_RTC_MONTH(__LL_RTC_CONVERT_BCD2BIN(RTC_DateStruct->Month))); in LL_RTC_DATE_Init() 426 …LL_RTC_DATE_Config(RTCx, RTC_DateStruct->WeekDay, RTC_DateStruct->Day, RTC_DateStruct->Month, RTC_… 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() 463 RTC_DateStruct->Month = LL_RTC_MONTH_JANUARY; in LL_RTC_DATE_StructInit()
|
D | stm32l0xx_hal_rtc.c | 600 if((Format == RTC_FORMAT_BIN) && ((sDate->Month & 0x10U) == 0x10U)) in HAL_RTC_SetDate() 602 sDate->Month = (uint8_t)((sDate->Month & (uint8_t)~(0x10U)) + (uint8_t)0x0AU); in HAL_RTC_SetDate() 610 assert_param(IS_RTC_MONTH(sDate->Month)); in HAL_RTC_SetDate() 614 ((uint32_t)RTC_ByteToBcd2(sDate->Month) << 8U) | \ in HAL_RTC_SetDate() 621 datetmpreg = RTC_Bcd2ToByte(sDate->Month); in HAL_RTC_SetDate() 627 (((uint32_t)sDate->Month) << 8U) | \ in HAL_RTC_SetDate() 711 sDate->Month = (uint8_t)((datetmpreg & (RTC_DR_MT | RTC_DR_MU)) >> 8U); in HAL_RTC_GetDate() 720 sDate->Month = (uint8_t)RTC_Bcd2ToByte(sDate->Month); in HAL_RTC_GetDate()
|
D | stm32l0xx_hal_rtc_ex.c | 338 sTimeStampDate->Month = (uint8_t)((tmpdate & (RTC_DR_MT | RTC_DR_MU)) >> 8U); in HAL_RTCEx_GetTimeStamp() 351 sTimeStampDate->Month = (uint8_t)RTC_Bcd2ToByte(sTimeStampDate->Month); in HAL_RTCEx_GetTimeStamp()
|
/loramac-node-latest/src/boards/mcu/stm32/STM32L1xx_HAL_Driver/Inc/ |
D | stm32l1xx_ll_rtc.h | 160 uint8_t Month; /*!< Specifies the RTC Date Month. member 1489 __STATIC_INLINE void LL_RTC_DATE_SetMonth(RTC_TypeDef *RTCx, uint32_t Month) in LL_RTC_DATE_SetMonth() argument 1492 (((Month & 0xF0U) << (RTC_DR_MT_Pos - 4U)) | ((Month & 0x0FU) << RTC_DR_MU_Pos))); in LL_RTC_DATE_SetMonth() 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 1599 (((Month & 0xF0U) << (RTC_DR_MT_Pos - 4U)) | ((Month & 0x0FU) << RTC_DR_MU_Pos)) | \ in LL_RTC_DATE_Config()
|
D | stm32l1xx_hal_rtc.h | 105 uint8_t Month; /*!< Specifies the RTC Date Month (in BCD format). member
|
/loramac-node-latest/src/boards/mcu/stm32/STM32L0xx_HAL_Driver/Inc/ |
D | stm32l0xx_ll_rtc.h | 198 uint8_t Month; /*!< Specifies the RTC Date Month. member 1496 __STATIC_INLINE void LL_RTC_DATE_SetMonth(RTC_TypeDef *RTCx, uint32_t Month) in LL_RTC_DATE_SetMonth() argument 1499 … (((Month & 0xF0U) << (RTC_POSITION_DR_MT - 4U)) | ((Month & 0x0FU) << RTC_POSITION_DR_MU))); in LL_RTC_DATE_SetMonth() 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 1606 … (((Month & 0xF0U) << (RTC_POSITION_DR_MT - 4U)) | ((Month & 0x0FU) << RTC_POSITION_DR_MU)) | \ in LL_RTC_DATE_Config()
|
D | stm32l0xx_hal_rtc.h | 144 uint8_t Month; /*!< Specifies the RTC Date Month (in BCD format). member
|
/loramac-node-latest/src/boards/mcu/stm32/STM32L4xx_HAL_Driver/Inc/ |
D | stm32l4xx_ll_rtc.h | 160 uint8_t Month; /*!< Specifies the RTC Date Month. member 1756 __STATIC_INLINE void LL_RTC_DATE_SetMonth(RTC_TypeDef *RTCx, uint32_t Month) in LL_RTC_DATE_SetMonth() argument 1759 (((Month & 0xF0U) << (RTC_DR_MT_Pos - 4U)) | ((Month & 0x0FU) << RTC_DR_MU_Pos))); in LL_RTC_DATE_SetMonth() 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 1860 (((Month & 0xF0U) << (RTC_DR_MT_Pos - 4U)) | ((Month & 0x0FU) << RTC_DR_MU_Pos)) | \ in LL_RTC_DATE_Config()
|
D | stm32l4xx_hal_rtc.h | 148 uint8_t Month; /*!< Specifies the RTC Date Month (in BCD format). member
|