Home
last modified time | relevance | path

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

/loramac-node-3.4.0/src/boards/mcu/stm32/STM32L1xx_HAL_Driver/Src/
Dstm32l1xx_ll_rtc.c303 assert_param(IS_LL_RTC_HOUR12(RTC_TimeStruct->Hours)); in LL_RTC_TIME_Init()
309 assert_param(IS_LL_RTC_HOUR24(RTC_TimeStruct->Hours)); in LL_RTC_TIME_Init()
318 assert_param(IS_LL_RTC_HOUR12(__LL_RTC_CONVERT_BCD2BIN(RTC_TimeStruct->Hours))); in LL_RTC_TIME_Init()
324 assert_param(IS_LL_RTC_HOUR24(__LL_RTC_CONVERT_BCD2BIN(RTC_TimeStruct->Hours))); in LL_RTC_TIME_Init()
339 LL_RTC_TIME_Config(RTCx, RTC_TimeStruct->TimeFormat, RTC_TimeStruct->Hours, in LL_RTC_TIME_Init()
344 …_RTC_TIME_Config(RTCx, RTC_TimeStruct->TimeFormat, __LL_RTC_CONVERT_BIN2BCD(RTC_TimeStruct->Hours), in LL_RTC_TIME_Init()
381 RTC_TimeStruct->Hours = 0U; in LL_RTC_TIME_StructInit()
504 assert_param(IS_LL_RTC_HOUR12(RTC_AlarmStruct->AlarmTime.Hours)); in LL_RTC_ALMA_Init()
510 assert_param(IS_LL_RTC_HOUR24(RTC_AlarmStruct->AlarmTime.Hours)); in LL_RTC_ALMA_Init()
528 assert_param(IS_LL_RTC_HOUR12(__LL_RTC_CONVERT_BCD2BIN(RTC_AlarmStruct->AlarmTime.Hours))); in LL_RTC_ALMA_Init()
[all …]
Dstm32l1xx_hal_rtc_ex.c270 sTime->Hours = (uint8_t)((tmpreg & (RTC_TR_HT | RTC_TR_HU)) >> 16); in HAL_RTC_GetTime()
279 sTime->Hours = (uint8_t)RTC_Bcd2ToByte(sTime->Hours); in HAL_RTC_GetTime()
334 assert_param(IS_RTC_HOUR12(sAlarm->AlarmTime.Hours)); in HAL_RTC_SetAlarm()
340 assert_param(IS_RTC_HOUR24(sAlarm->AlarmTime.Hours)); in HAL_RTC_SetAlarm()
354 tmpreg = (((uint32_t)RTC_ByteToBcd2(sAlarm->AlarmTime.Hours) << 16) | \ in HAL_RTC_SetAlarm()
366 tmpreg = RTC_Bcd2ToByte(sAlarm->AlarmTime.Hours); in HAL_RTC_SetAlarm()
373 assert_param(IS_RTC_HOUR24(RTC_Bcd2ToByte(sAlarm->AlarmTime.Hours))); in HAL_RTC_SetAlarm()
390 tmpreg = (((uint32_t)(sAlarm->AlarmTime.Hours) << 16) | \ in HAL_RTC_SetAlarm()
530 assert_param(IS_RTC_HOUR12(sAlarm->AlarmTime.Hours)); in HAL_RTC_SetAlarm_IT()
536 assert_param(IS_RTC_HOUR24(sAlarm->AlarmTime.Hours)); in HAL_RTC_SetAlarm_IT()
[all …]
Dstm32l1xx_hal_rtc.c362 assert_param(IS_RTC_HOUR12(sTime->Hours)); in HAL_RTC_SetTime()
368 assert_param(IS_RTC_HOUR24(sTime->Hours)); in HAL_RTC_SetTime()
373 tmpreg = (uint32_t)(((uint32_t)RTC_ByteToBcd2(sTime->Hours) << 16) | \ in HAL_RTC_SetTime()
382 tmpreg = RTC_Bcd2ToByte(sTime->Hours); in HAL_RTC_SetTime()
389 assert_param(IS_RTC_HOUR24(RTC_Bcd2ToByte(sTime->Hours))); in HAL_RTC_SetTime()
393 tmpreg = (((uint32_t)(sTime->Hours) << 16) | \ in HAL_RTC_SetTime()
/loramac-node-3.4.0/src/boards/mcu/stm32/STM32L0xx_HAL_Driver/Src/
Dstm32l0xx_ll_rtc.c300 assert_param(IS_LL_RTC_HOUR12(RTC_TimeStruct->Hours)); in LL_RTC_TIME_Init()
306 assert_param(IS_LL_RTC_HOUR24(RTC_TimeStruct->Hours)); in LL_RTC_TIME_Init()
315 assert_param(IS_LL_RTC_HOUR12(__LL_RTC_CONVERT_BCD2BIN(RTC_TimeStruct->Hours))); in LL_RTC_TIME_Init()
321 assert_param(IS_LL_RTC_HOUR24(__LL_RTC_CONVERT_BCD2BIN(RTC_TimeStruct->Hours))); in LL_RTC_TIME_Init()
336 LL_RTC_TIME_Config(RTCx, RTC_TimeStruct->TimeFormat, RTC_TimeStruct->Hours, in LL_RTC_TIME_Init()
341 …_RTC_TIME_Config(RTCx, RTC_TimeStruct->TimeFormat, __LL_RTC_CONVERT_BIN2BCD(RTC_TimeStruct->Hours), in LL_RTC_TIME_Init()
374 RTC_TimeStruct->Hours = 0U; in LL_RTC_TIME_StructInit()
493 assert_param(IS_LL_RTC_HOUR12(RTC_AlarmStruct->AlarmTime.Hours)); in LL_RTC_ALMA_Init()
499 assert_param(IS_LL_RTC_HOUR24(RTC_AlarmStruct->AlarmTime.Hours)); in LL_RTC_ALMA_Init()
517 assert_param(IS_LL_RTC_HOUR12(__LL_RTC_CONVERT_BCD2BIN(RTC_AlarmStruct->AlarmTime.Hours))); in LL_RTC_ALMA_Init()
[all …]
Dstm32l0xx_hal_rtc.c427 assert_param(IS_RTC_HOUR12(sTime->Hours)); in HAL_RTC_SetTime()
433 assert_param(IS_RTC_HOUR24(sTime->Hours)); in HAL_RTC_SetTime()
438 tmpreg = (uint32_t)(((uint32_t)RTC_ByteToBcd2(sTime->Hours) << 16U) | \ in HAL_RTC_SetTime()
447 tmpreg = RTC_Bcd2ToByte(sTime->Hours); in HAL_RTC_SetTime()
454 assert_param(IS_RTC_HOUR24(RTC_Bcd2ToByte(sTime->Hours))); in HAL_RTC_SetTime()
458 tmpreg = (((uint32_t)(sTime->Hours) << 16U) | \ in HAL_RTC_SetTime()
561 sTime->Hours = (uint8_t)((tmpreg & (RTC_TR_HT | RTC_TR_HU)) >> 16U); in HAL_RTC_GetTime()
570 sTime->Hours = (uint8_t)RTC_Bcd2ToByte(sTime->Hours); in HAL_RTC_GetTime()
775 assert_param(IS_RTC_HOUR12(sAlarm->AlarmTime.Hours)); in HAL_RTC_SetAlarm()
781 assert_param(IS_RTC_HOUR24(sAlarm->AlarmTime.Hours)); in HAL_RTC_SetAlarm()
[all …]
Dstm32l0xx_hal_rtc_ex.c330 sTimeStamp->Hours = (uint8_t)((tmptime & (RTC_TR_HT | RTC_TR_HU)) >> 16U); in HAL_RTCEx_GetTimeStamp()
346 sTimeStamp->Hours = (uint8_t)RTC_Bcd2ToByte(sTimeStamp->Hours); in HAL_RTCEx_GetTimeStamp()
/loramac-node-3.4.0/src/boards/mcu/stm32/STM32L4xx_HAL_Driver/Src/
Dstm32l4xx_ll_rtc.c299 assert_param(IS_LL_RTC_HOUR12(RTC_TimeStruct->Hours)); in LL_RTC_TIME_Init()
305 assert_param(IS_LL_RTC_HOUR24(RTC_TimeStruct->Hours)); in LL_RTC_TIME_Init()
314 assert_param(IS_LL_RTC_HOUR12(__LL_RTC_CONVERT_BCD2BIN(RTC_TimeStruct->Hours))); in LL_RTC_TIME_Init()
320 assert_param(IS_LL_RTC_HOUR24(__LL_RTC_CONVERT_BCD2BIN(RTC_TimeStruct->Hours))); in LL_RTC_TIME_Init()
335 LL_RTC_TIME_Config(RTCx, RTC_TimeStruct->TimeFormat, RTC_TimeStruct->Hours, in LL_RTC_TIME_Init()
340 …_RTC_TIME_Config(RTCx, RTC_TimeStruct->TimeFormat, __LL_RTC_CONVERT_BIN2BCD(RTC_TimeStruct->Hours), in LL_RTC_TIME_Init()
373 RTC_TimeStruct->Hours = 0U; in LL_RTC_TIME_StructInit()
492 assert_param(IS_LL_RTC_HOUR12(RTC_AlarmStruct->AlarmTime.Hours)); in LL_RTC_ALMA_Init()
498 assert_param(IS_LL_RTC_HOUR24(RTC_AlarmStruct->AlarmTime.Hours)); in LL_RTC_ALMA_Init()
516 assert_param(IS_LL_RTC_HOUR12(__LL_RTC_CONVERT_BCD2BIN(RTC_AlarmStruct->AlarmTime.Hours))); in LL_RTC_ALMA_Init()
[all …]
Dstm32l4xx_hal_rtc.c842 assert_param(IS_RTC_HOUR12(sTime->Hours)); in HAL_RTC_SetTime()
848 assert_param(IS_RTC_HOUR24(sTime->Hours)); in HAL_RTC_SetTime()
853 tmpreg = (uint32_t)(((uint32_t)RTC_ByteToBcd2(sTime->Hours) << RTC_TR_HU_Pos) | \ in HAL_RTC_SetTime()
862 tmpreg = RTC_Bcd2ToByte(sTime->Hours); in HAL_RTC_SetTime()
869 assert_param(IS_RTC_HOUR24(RTC_Bcd2ToByte(sTime->Hours))); in HAL_RTC_SetTime()
873 tmpreg = (((uint32_t)(sTime->Hours) << RTC_TR_HU_Pos) | \ in HAL_RTC_SetTime()
961 sTime->Hours = (uint8_t)((tmpreg & (RTC_TR_HT | RTC_TR_HU)) >> RTC_TR_HU_Pos); in HAL_RTC_GetTime()
970 sTime->Hours = (uint8_t)RTC_Bcd2ToByte(sTime->Hours); in HAL_RTC_GetTime()
1177 assert_param(IS_RTC_HOUR12(sAlarm->AlarmTime.Hours)); in HAL_RTC_SetAlarm()
1183 assert_param(IS_RTC_HOUR24(sAlarm->AlarmTime.Hours)); in HAL_RTC_SetAlarm()
[all …]
Dstm32l4xx_hal_rtc_ex.c440 sTimeStamp->Hours = (uint8_t)((tmptime & (RTC_TSTR_HT | RTC_TSTR_HU)) >> RTC_TSTR_HU_Pos); in HAL_RTCEx_GetTimeStamp()
456 sTimeStamp->Hours = (uint8_t)RTC_Bcd2ToByte(sTimeStamp->Hours); in HAL_RTCEx_GetTimeStamp()
/loramac-node-3.4.0/src/boards/mcu/stm32/STM32L1xx_HAL_Driver/Inc/
Dstm32l1xx_ll_rtc.h133 uint8_t Hours; /*!< Specifies the RTC Time Hours. member
1131 __STATIC_INLINE void LL_RTC_TIME_SetHour(RTC_TypeDef *RTCx, uint32_t Hours) in LL_RTC_TIME_SetHour() argument
1134 (((Hours & 0xF0U) << (RTC_TR_HT_Pos - 4U)) | ((Hours & 0x0FU) << RTC_TR_HU_Pos))); in LL_RTC_TIME_SetHour()
1255 __STATIC_INLINE void LL_RTC_TIME_Config(RTC_TypeDef *RTCx, uint32_t Format12_24, uint32_t Hours, ui… in LL_RTC_TIME_Config() argument
1260 (((Hours & 0xF0U) << (RTC_TR_HT_Pos - 4U)) | ((Hours & 0x0FU) << RTC_TR_HU_Pos)) | \ in LL_RTC_TIME_Config()
1825 __STATIC_INLINE void LL_RTC_ALMA_SetHour(RTC_TypeDef *RTCx, uint32_t Hours) in LL_RTC_ALMA_SetHour() argument
1828 … (((Hours & 0xF0U) << (RTC_ALRMAR_HT_Pos - 4U)) | ((Hours & 0x0FU) << RTC_ALRMAR_HU_Pos))); in LL_RTC_ALMA_SetHour()
1927 __STATIC_INLINE void LL_RTC_ALMA_ConfigTime(RTC_TypeDef *RTCx, uint32_t Format12_24, uint32_t Hours in LL_RTC_ALMA_ConfigTime() argument
1931 …temp = Format12_24 | (((Hours & 0xF0U) << (RTC_ALRMAR_HT_Pos - 4U)) | ((Hours & 0x0FU) << RTC_ALRM… in LL_RTC_ALMA_ConfigTime()
2205 __STATIC_INLINE void LL_RTC_ALMB_SetHour(RTC_TypeDef *RTCx, uint32_t Hours) in LL_RTC_ALMB_SetHour() argument
[all …]
Dstm32l1xx_hal_rtc_ex.h94 uint8_t Hours; /*!< Specifies the RTC Time Hour. member
/loramac-node-3.4.0/src/boards/mcu/stm32/STM32L0xx_HAL_Driver/Inc/
Dstm32l0xx_ll_rtc.h171 uint8_t Hours; /*!< Specifies the RTC Time Hours. member
1142 __STATIC_INLINE void LL_RTC_TIME_SetHour(RTC_TypeDef *RTCx, uint32_t Hours) in LL_RTC_TIME_SetHour() argument
1145 … (((Hours & 0xF0U) << (RTC_POSITION_TR_HT - 4U)) | ((Hours & 0x0FU) << RTC_POSITION_TR_HU))); in LL_RTC_TIME_SetHour()
1266 __STATIC_INLINE void LL_RTC_TIME_Config(RTC_TypeDef *RTCx, uint32_t Format12_24, uint32_t Hours, ui… in LL_RTC_TIME_Config() argument
1271 … (((Hours & 0xF0U) << (RTC_POSITION_TR_HT - 4U)) | ((Hours & 0x0FU) << RTC_POSITION_TR_HU)) | \ in LL_RTC_TIME_Config()
1832 __STATIC_INLINE void LL_RTC_ALMA_SetHour(RTC_TypeDef *RTCx, uint32_t Hours) in LL_RTC_ALMA_SetHour() argument
1835 … (((Hours & 0xF0U) << (RTC_POSITION_ALMA_HT - 4U)) | ((Hours & 0x0FU) << RTC_POSITION_ALMA_HU))); in LL_RTC_ALMA_SetHour()
1934 __STATIC_INLINE void LL_RTC_ALMA_ConfigTime(RTC_TypeDef *RTCx, uint32_t Format12_24, uint32_t Hours in LL_RTC_ALMA_ConfigTime() argument
1938 …temp = Format12_24 | (((Hours & 0xF0U) << (RTC_POSITION_ALMA_HT - 4U)) | ((Hours & 0x0FU) << RTC_P… in LL_RTC_ALMA_ConfigTime()
2210 __STATIC_INLINE void LL_RTC_ALMB_SetHour(RTC_TypeDef *RTCx, uint32_t Hours) in LL_RTC_ALMB_SetHour() argument
[all …]
Dstm32l0xx_hal_rtc.h105 uint8_t Hours; /*!< Specifies the RTC Time Hour. member
/loramac-node-3.4.0/src/boards/mcu/stm32/STM32L4xx_HAL_Driver/Inc/
Dstm32l4xx_ll_rtc.h133 uint8_t Hours; /*!< Specifies the RTC Time Hours. member
1409 __STATIC_INLINE void LL_RTC_TIME_SetHour(RTC_TypeDef *RTCx, uint32_t Hours) in LL_RTC_TIME_SetHour() argument
1412 (((Hours & 0xF0U) << (RTC_TR_HT_Pos - 4U)) | ((Hours & 0x0FU) << RTC_TR_HU_Pos))); in LL_RTC_TIME_SetHour()
1524 __STATIC_INLINE void LL_RTC_TIME_Config(RTC_TypeDef *RTCx, uint32_t Format12_24, uint32_t Hours, ui… in LL_RTC_TIME_Config() argument
1529 (((Hours & 0xF0U) << (RTC_TR_HT_Pos - 4U)) | ((Hours & 0x0FU) << RTC_TR_HU_Pos)) | \ in LL_RTC_TIME_Config()
2089 __STATIC_INLINE void LL_RTC_ALMA_SetHour(RTC_TypeDef *RTCx, uint32_t Hours) in LL_RTC_ALMA_SetHour() argument
2092 … (((Hours & 0xF0U) << (RTC_ALRMAR_HT_Pos - 4U)) | ((Hours & 0x0FU) << RTC_ALRMAR_HU_Pos))); in LL_RTC_ALMA_SetHour()
2182 __STATIC_INLINE void LL_RTC_ALMA_ConfigTime(RTC_TypeDef *RTCx, uint32_t Format12_24, uint32_t Hours in LL_RTC_ALMA_ConfigTime() argument
2186 …temp = Format12_24 | (((Hours & 0xF0U) << (RTC_ALRMAR_HT_Pos - 4U)) | ((Hours & 0x0FU) << RTC_ALRM… in LL_RTC_ALMA_ConfigTime()
2455 __STATIC_INLINE void LL_RTC_ALMB_SetHour(RTC_TypeDef *RTCx, uint32_t Hours) in LL_RTC_ALMB_SetHour() argument
[all …]
Dstm32l4xx_hal_rtc.h109 uint8_t Hours; /*!< Specifies the RTC Time Hour. member
/loramac-node-3.4.0/src/boards/SKiM980A/
Drtc-board.c173 time.Hours = 0; in RtcInit()
334 rtcAlarmHours = time.Hours; in RtcStartAlarm()
397 RtcAlarm.AlarmTime.Hours = rtcAlarmHours; in RtcStartAlarm()
459 ( ( uint32_t )time->Hours * SECONDS_IN_1HOUR ) ) ; in RtcGetCalendarValue()
/loramac-node-3.4.0/src/boards/NucleoL152/
Drtc-board.c173 time.Hours = 0; in RtcInit()
334 rtcAlarmHours = time.Hours; in RtcStartAlarm()
397 RtcAlarm.AlarmTime.Hours = rtcAlarmHours; in RtcStartAlarm()
459 ( ( uint32_t )time->Hours * SECONDS_IN_1HOUR ) ) ; in RtcGetCalendarValue()
/loramac-node-3.4.0/src/boards/NucleoL073/
Drtc-board.c174 time.Hours = 0; in RtcInit()
335 rtcAlarmHours = time.Hours; in RtcStartAlarm()
398 RtcAlarm.AlarmTime.Hours = rtcAlarmHours; in RtcStartAlarm()
460 ( ( uint32_t )time->Hours * SECONDS_IN_1HOUR ) ) ; in RtcGetCalendarValue()
/loramac-node-3.4.0/src/boards/SKiM880B/
Drtc-board.c173 time.Hours = 0; in RtcInit()
334 rtcAlarmHours = time.Hours; in RtcStartAlarm()
397 RtcAlarm.AlarmTime.Hours = rtcAlarmHours; in RtcStartAlarm()
459 ( ( uint32_t )time->Hours * SECONDS_IN_1HOUR ) ) ; in RtcGetCalendarValue()
/loramac-node-3.4.0/src/boards/SKiM881AXL/
Drtc-board.c174 time.Hours = 0; in RtcInit()
335 rtcAlarmHours = time.Hours; in RtcStartAlarm()
398 RtcAlarm.AlarmTime.Hours = rtcAlarmHours; in RtcStartAlarm()
460 ( ( uint32_t )time->Hours * SECONDS_IN_1HOUR ) ) ; in RtcGetCalendarValue()
/loramac-node-3.4.0/src/boards/NucleoL476/
Drtc-board.c173 time.Hours = 0; in RtcInit()
334 rtcAlarmHours = time.Hours; in RtcStartAlarm()
397 RtcAlarm.AlarmTime.Hours = rtcAlarmHours; in RtcStartAlarm()
459 ( ( uint32_t )time->Hours * SECONDS_IN_1HOUR ) ) ; in RtcGetCalendarValue()
/loramac-node-3.4.0/src/boards/NAMote72/
Drtc-board.c173 time.Hours = 0; in RtcInit()
334 rtcAlarmHours = time.Hours; in RtcStartAlarm()
397 RtcAlarm.AlarmTime.Hours = rtcAlarmHours; in RtcStartAlarm()
459 ( ( uint32_t )time->Hours * SECONDS_IN_1HOUR ) ) ; in RtcGetCalendarValue()
/loramac-node-3.4.0/src/boards/B-L072Z-LRWAN1/
Drtc-board.c174 time.Hours = 0; in RtcInit()
335 rtcAlarmHours = time.Hours; in RtcStartAlarm()
398 RtcAlarm.AlarmTime.Hours = rtcAlarmHours; in RtcStartAlarm()
460 ( ( uint32_t )time->Hours * SECONDS_IN_1HOUR ) ) ; in RtcGetCalendarValue()