Home
last modified time | relevance | path

Searched refs:WeekDay (Results 1 – 25 of 26) sorted by relevance

12

/bsp/stm32/libraries/HAL_Drivers/drivers/
A Ddrv_rtc.c108 RTC_DateStruct.WeekDay = tm.tm_wday + 1; in set_rtc_time_stamp()
127 HAL_RTCEx_BKUPWrite(&RTC_Handler, RTC_BKP_DR5, RTC_DateStruct.WeekDay); in set_rtc_time_stamp()
144 RTC_DateStruct.WeekDay = HAL_RTCEx_BKUPRead(&RTC_Handler, RTC_BKP_DR5); in rt_rtc_f1_bkp_update()
157 HAL_RTCEx_BKUPWrite(&RTC_Handler, RTC_BKP_DR5, RTC_DateStruct.WeekDay); in rt_rtc_f1_bkp_update()
/bsp/Vango/v85xx/Libraries/VangoV85xx_standard_peripheral/Source/
A Dlib_rtc.c143 assert_parameters(IS_RTC_TIME_WEEKDAY(sTime->WeekDay)); in RTC_SetTime()
159 RTC->WEEK = sTime->WeekDay; in RTC_SetTime()
192 gTime->WeekDay = RTC->WEEK; in RTC_GetTime()
/bsp/n32/libraries/N32G45x_Firmware_Library/n32g45x_std_periph_driver/src/
A Dn32g45x_rtc.c646 assert_param(IS_RTC_WEEKDAY(RTC_DateStruct->WeekDay)); in RTC_SetDate()
652 … | ((uint32_t)RTC_DateStruct->Date) | (((uint32_t)RTC_DateStruct->WeekDay) << 13)); in RTC_SetDate()
658 … | ((uint32_t)RTC_ByteToBcd2(RTC_DateStruct->Date)) | ((uint32_t)RTC_DateStruct->WeekDay << 13)); in RTC_SetDate()
712 RTC_DateStruct->WeekDay = RTC_WEEKDAY_MONDAY; in RTC_DateStructInit()
741 RTC_DateStruct->WeekDay = (uint8_t)((tmpregister & (RTC_DATE_WDU)) >> 13); in RTC_GetDate()
1594 RTC_StampDateStruct->WeekDay = (uint8_t)((tmpdate & (RTC_DATE_WDU)) >> 13); in RTC_GetTimeStamp()
1607 RTC_StampDateStruct->WeekDay = (uint8_t)RTC_Bcd2ToByte(RTC_StampDateStruct->WeekDay); in RTC_GetTimeStamp()
/bsp/n32/libraries/N32G4FR_Firmware_Library/n32g4fr_std_periph_driver/src/
A Dn32g4fr_rtc.c646 assert_param(IS_RTC_WEEKDAY(RTC_DateStruct->WeekDay)); in RTC_SetDate()
652 … | ((uint32_t)RTC_DateStruct->Date) | (((uint32_t)RTC_DateStruct->WeekDay) << 13)); in RTC_SetDate()
658 … | ((uint32_t)RTC_ByteToBcd2(RTC_DateStruct->Date)) | ((uint32_t)RTC_DateStruct->WeekDay << 13)); in RTC_SetDate()
710 RTC_DateStruct->WeekDay = RTC_WEEKDAY_MONDAY; in RTC_DateStructInit()
739 RTC_DateStruct->WeekDay = (uint8_t)((tmpregister & (RTC_DATE_WDU)) >> 13); in RTC_GetDate()
1593 RTC_StampDateStruct->WeekDay = (uint8_t)((tmpdate & (RTC_DATE_WDU)) >> 13); in RTC_GetTimeStamp()
1606 RTC_StampDateStruct->WeekDay = (uint8_t)RTC_Bcd2ToByte(RTC_StampDateStruct->WeekDay); in RTC_GetTimeStamp()
/bsp/n32/libraries/N32WB452_Firmware_Library/n32wb452_std_periph_driver/src/
A Dn32wb452_rtc.c646 assert_param(IS_RTC_WEEKDAY(RTC_DateStruct->WeekDay)); in RTC_SetDate()
652 … | ((uint32_t)RTC_DateStruct->Date) | (((uint32_t)RTC_DateStruct->WeekDay) << 13)); in RTC_SetDate()
658 … | ((uint32_t)RTC_ByteToBcd2(RTC_DateStruct->Date)) | ((uint32_t)RTC_DateStruct->WeekDay << 13)); in RTC_SetDate()
712 RTC_DateStruct->WeekDay = RTC_WEEKDAY_MONDAY; in RTC_DateStructInit()
741 RTC_DateStruct->WeekDay = (uint8_t)((tmpregister & (RTC_DATE_WDU)) >> 13); in RTC_GetDate()
1594 RTC_StampDateStruct->WeekDay = (uint8_t)((tmpdate & (RTC_DATE_WDU)) >> 13); in RTC_GetTimeStamp()
1607 RTC_StampDateStruct->WeekDay = (uint8_t)RTC_Bcd2ToByte(RTC_StampDateStruct->WeekDay); in RTC_GetTimeStamp()
/bsp/n32g452xx/Libraries/N32_Std_Driver/n32g45x_std_periph_driver/src/
A Dn32g45x_rtc.c643 assert_param(IS_RTC_WEEKDAY(RTC_DateStruct->WeekDay)); in RTC_SetDate()
649 … | ((uint32_t)RTC_DateStruct->Date) | (((uint32_t)RTC_DateStruct->WeekDay) << 13)); in RTC_SetDate()
655 … | ((uint32_t)RTC_ByteToBcd2(RTC_DateStruct->Date)) | ((uint32_t)RTC_DateStruct->WeekDay << 13)); in RTC_SetDate()
707 RTC_DateStruct->WeekDay = RTC_WEEKDAY_MONDAY; in RTC_DateStructInit()
736 RTC_DateStruct->WeekDay = (uint8_t)((tmpregister & (RTC_DATE_WDU)) >> 13); in RTC_GetDate()
1597 RTC_StampDateStruct->WeekDay = (uint8_t)((tmpdate & (RTC_DATE_WDU)) >> 13); in RTC_GetTimeStamp()
1610 RTC_StampDateStruct->WeekDay = (uint8_t)RTC_Bcd2ToByte(RTC_StampDateStruct->WeekDay); in RTC_GetTimeStamp()
/bsp/n32/libraries/n32_drivers/
A Ddrv_rtc.c33 tm_new.tm_wday = RTC_DateStructure.WeekDay; in n32_rtc_get_timeval()
61 RTC_DateStructure.WeekDay = time.tm_wday + 1; in set_rtc_time_stamp()
/bsp/n32/libraries/N32L40x_Firmware_Library/n32l40x_std_periph_driver/src/
A Dn32l40x_rtc.c692 assert_param(IS_RTC_WEEKDAY(RTC_DateStruct->WeekDay)); in RTC_SetDate()
698 … | ((uint32_t)RTC_DateStruct->Date) | (((uint32_t)RTC_DateStruct->WeekDay) << 13)); in RTC_SetDate()
704 … | ((uint32_t)RTC_ByteToBcd2(RTC_DateStruct->Date)) | ((uint32_t)RTC_DateStruct->WeekDay << 13)); in RTC_SetDate()
758 RTC_DateStruct->WeekDay = RTC_WEEKDAY_MONDAY; in RTC_DateStructInit()
787 RTC_DateStruct->WeekDay = (uint8_t)((tmpregister & (RTC_DATE_WDU)) >> 13); in RTC_GetDate()
1641 RTC_StampDateStruct->WeekDay = (uint8_t)((tmpdate & (RTC_DATE_WDU)) >> 13); in RTC_GetTimeStamp()
1654 RTC_StampDateStruct->WeekDay = (uint8_t)RTC_Bcd2ToByte(RTC_StampDateStruct->WeekDay); in RTC_GetTimeStamp()
/bsp/n32/libraries/N32L43x_Firmware_Library/n32l43x_std_periph_driver/src/
A Dn32l43x_rtc.c639 assert_param(IS_RTC_WEEKDAY(RTC_DateStruct->WeekDay)); in RTC_SetDate()
644 … | ((uint32_t)RTC_DateStruct->Date) | (((uint32_t)RTC_DateStruct->WeekDay) << 13)); in RTC_SetDate()
650 … | ((uint32_t)RTC_ByteToBcd2(RTC_DateStruct->Date)) | ((uint32_t)RTC_DateStruct->WeekDay << 13)); in RTC_SetDate()
700 RTC_DateStruct->WeekDay = RTC_WEEKDAY_MONDAY; in RTC_DateStructInit()
726 RTC_DateStruct->WeekDay = (uint8_t)((tmpregister & (RTC_DATE_WDU)) >> 13); in RTC_GetDate()
1492 RTC_StampDateStruct->WeekDay = (uint8_t)((tmpdate & (RTC_DATE_WDU)) >> 13); in RTC_GetTimeStamp()
1503 RTC_StampDateStruct->WeekDay = (uint8_t)RTC_Bcd2ToByte(RTC_StampDateStruct->WeekDay); in RTC_GetTimeStamp()
/bsp/n32/libraries/N32G43x_Firmware_Library/n32g43x_std_periph_driver/src/
A Dn32g43x_rtc.c680 assert_param(IS_RTC_WEEKDAY(RTC_DateStruct->WeekDay)); in RTC_SetDate()
686 … | ((uint32_t)RTC_DateStruct->Date) | (((uint32_t)RTC_DateStruct->WeekDay) << 13)); in RTC_SetDate()
692 … | ((uint32_t)RTC_ByteToBcd2(RTC_DateStruct->Date)) | ((uint32_t)RTC_DateStruct->WeekDay << 13)); in RTC_SetDate()
746 RTC_DateStruct->WeekDay = RTC_WEEKDAY_MONDAY; in RTC_DateStructInit()
775 RTC_DateStruct->WeekDay = (uint8_t)((tmpregister & (RTC_DATE_WDU)) >> 13); in RTC_GetDate()
1629 RTC_StampDateStruct->WeekDay = (uint8_t)((tmpdate & (RTC_DATE_WDU)) >> 13); in RTC_GetTimeStamp()
1642 RTC_StampDateStruct->WeekDay = (uint8_t)RTC_Bcd2ToByte(RTC_StampDateStruct->WeekDay); in RTC_GetTimeStamp()
/bsp/Vango/v85xxp/Libraries/VangoV85xxP_standard_peripheral/Source/
A Dlib_rtc.c147 assert_parameters(IS_RTC_TIME_WEEKDAY(sTime->WeekDay)); in RTC_SetTime()
178 RTC->WEEK = sTime->WeekDay; in RTC_SetTime()
218 gTime->WeekDay = RTC->WEEK; in RTC_GetTime()
/bsp/stm32/libraries/STM32L1xx_HAL/STM32L1xx_HAL_Driver/Src/
A Dstm32l1xx_ll_rtc.c395 assert_param(IS_LL_RTC_WEEKDAY(RTC_DateStruct->WeekDay)); in LL_RTC_DATE_Init()
406 …LL_RTC_DATE_Config(RTCx, RTC_DateStruct->WeekDay, RTC_DateStruct->Day, RTC_DateStruct->Month, RTC_… in LL_RTC_DATE_Init()
410 … LL_RTC_DATE_Config(RTCx, RTC_DateStruct->WeekDay, __LL_RTC_CONVERT_BIN2BCD(RTC_DateStruct->Day), in LL_RTC_DATE_Init()
445 RTC_DateStruct->WeekDay = LL_RTC_WEEKDAY_MONDAY; in LL_RTC_DATE_StructInit()
A Dstm32l1xx_hal_rtc.c931 assert_param(IS_RTC_WEEKDAY(sDate->WeekDay)); in HAL_RTC_SetDate()
942 ((uint32_t)sDate->WeekDay << 13U)); in HAL_RTC_SetDate()
953 (((uint32_t)sDate->WeekDay) << 13U)); in HAL_RTC_SetDate()
1034 sDate->WeekDay = (uint8_t)((datetmpreg & (RTC_DR_WDU)) >> 13U); in HAL_RTC_GetDate()
A Dstm32l1xx_hal_rtc_ex.c294 sTimeStampDate->WeekDay = (uint8_t)((tmpdate & (RTC_DR_WDU)) >> 13U); in HAL_RTCEx_GetTimeStamp()
307 sTimeStampDate->WeekDay = (uint8_t)RTC_Bcd2ToByte(sTimeStampDate->WeekDay); in HAL_RTCEx_GetTimeStamp()
/bsp/stm32/libraries/STM32L1xx_HAL/STM32L1xx_HAL_Driver/Inc/
A Dstm32l1xx_ll_rtc.h138 uint8_t WeekDay; /*!< Specifies the RTC Date WeekDay. member
1419 __STATIC_INLINE void LL_RTC_DATE_SetWeekDay(RTC_TypeDef *RTCx, uint32_t WeekDay) in LL_RTC_DATE_SetWeekDay() argument
1421 MODIFY_REG(RTCx->DR, RTC_DR_WDU, WeekDay << RTC_DR_WDU_Pos); in LL_RTC_DATE_SetWeekDay()
1563 __STATIC_INLINE void LL_RTC_DATE_Config(RTC_TypeDef *RTCx, uint32_t WeekDay, uint32_t Day, uint32_t… in LL_RTC_DATE_Config() argument
1567 temp = (WeekDay << RTC_DR_WDU_Pos) | \ in LL_RTC_DATE_Config()
1739 __STATIC_INLINE void LL_RTC_ALMA_SetWeekDay(RTC_TypeDef *RTCx, uint32_t WeekDay) in LL_RTC_ALMA_SetWeekDay() argument
1741 MODIFY_REG(RTCx->ALRMAR, RTC_ALRMAR_DU, WeekDay << RTC_ALRMAR_DU_Pos); in LL_RTC_ALMA_SetWeekDay()
2107 __STATIC_INLINE void LL_RTC_ALMB_SetWeekDay(RTC_TypeDef *RTCx, uint32_t WeekDay) in LL_RTC_ALMB_SetWeekDay() argument
2109 MODIFY_REG(RTCx->ALRMBR, RTC_ALRMBR_DU, WeekDay << RTC_ALRMBR_DU_Pos); in LL_RTC_ALMB_SetWeekDay()
A Dstm32l1xx_hal_rtc.h123 uint8_t WeekDay; /*!< Specifies the RTC Date WeekDay. member
/bsp/Vango/v85xx/Libraries/VangoV85xx_standard_peripheral/Include/
A Dlib_rtc.h28 uint32_t WeekDay; member
/bsp/Vango/v85xxp/Libraries/VangoV85xxP_standard_peripheral/Include/
A Dlib_rtc.h28 uint32_t WeekDay; member
/bsp/n32/libraries/N32G4FR_Firmware_Library/n32g4fr_std_periph_driver/inc/
A Dn32g4fr_rtc.h92 uint8_t WeekDay; /*!< Specifies the RTC Date WeekDay. member
/bsp/n32/libraries/N32G45x_Firmware_Library/n32g45x_std_periph_driver/inc/
A Dn32g45x_rtc.h92 uint8_t WeekDay; /*!< Specifies the RTC Date WeekDay. member
/bsp/n32/libraries/N32WB452_Firmware_Library/n32wb452_std_periph_driver/inc/
A Dn32wb452_rtc.h92 uint8_t WeekDay; /*!< Specifies the RTC Date WeekDay. member
/bsp/n32g452xx/Libraries/N32_Std_Driver/n32g45x_std_periph_driver/inc/
A Dn32g45x_rtc.h92 uint8_t WeekDay; /*!< Specifies the RTC Date WeekDay. member
/bsp/n32/libraries/N32L43x_Firmware_Library/n32l43x_std_periph_driver/inc/
A Dn32l43x_rtc.h92 uint8_t WeekDay; /*!< Specifies the RTC Date WeekDay. member
/bsp/n32/libraries/N32L40x_Firmware_Library/n32l40x_std_periph_driver/inc/
A Dn32l40x_rtc.h92 uint8_t WeekDay; /*!< Specifies the RTC Date WeekDay. member
/bsp/n32/libraries/N32G43x_Firmware_Library/n32g43x_std_periph_driver/inc/
A Dn32g43x_rtc.h92 uint8_t WeekDay; /*!< Specifies the RTC Date WeekDay. member

Completed in 92 milliseconds

12