Home
last modified time | relevance | path

Searched refs:Date (Results 1 – 25 of 135) sorted by relevance

123456

/bsp/synwit/libraries/SWM320_drivers/
A Ddrv_rtc.c57 tm_new.tm_mday = get_datetime.Date; in swm_get_rtc_time_stamp()
73 set_datetime.Date = now.tm_mday; in swm_set_rtc_time_stamp()
84 ((set_datetime.Date) << RTC_DATHUR_DATE_Pos); in swm_set_rtc_time_stamp()
85 RTC->MONDAY = (calcWeekDay(set_datetime.Year, set_datetime.Month, set_datetime.Date) in swm_set_rtc_time_stamp()
102 rtc_initstruct.Date = 28; in swm_rtc_configure()
/bsp/synwit/libraries/SWM341_drivers/
A Ddrv_rtc.c56 tm_new.tm_mday = get_datetime.Date; in swm_get_rtc_time_stamp()
72 set_datetime.Date = now.tm_mday; in swm_set_rtc_time_stamp()
83 ((set_datetime.Date) << RTC_DATHUR_DATE_Pos); in swm_set_rtc_time_stamp()
84 RTC->MONDAY = (calcWeekDay(set_datetime.Year, set_datetime.Month, set_datetime.Date) in swm_set_rtc_time_stamp()
102 rtc_initstruct.Date = 28; in swm_rtc_configure()
/bsp/airm2m/air105/libraries/HAL_Driver/Src/
A Dbsp_common.c595 DYear = Date->Year - 1970; in UTC2Tamp()
598 …ay = DYear * 365 + ((DYear + 1) / 4) + DayTable[IsLeapYear(Date->Year)][Date->Mon - 1] + (Date->Da… in UTC2Tamp()
603 if (Date->Year >= 2100) in UTC2Tamp()
605 Year100 = Date->Year - 2100; in UTC2Tamp()
607 if (Date->Year >= 2400) in UTC2Tamp()
618 DDay = DayTable[IsLeapYear(Date->Year)][Date->Mon - 1] + (Date->Day - 1); in UTC2Tamp()
717 Date->Year = DYear + 1970; in Tamp2UTC()
718 LeapFlag = IsLeapYear(Date->Year); in Tamp2UTC()
719 Date->Mon = 12; in Tamp2UTC()
724 Date->Mon = i; in Tamp2UTC()
[all …]
/bsp/loongson/ls1cdev/drivers/
A Ddrv_rtc.c44 tm_new.tm_mday = rtcDate.Date; in get_timestamp()
62 rtcDate.Date= now.tm_mday; in set_timestamp()
67 …rt_kprintf("\r\nrtcDate is %d.%d.%d - %d:%d:%d",rtcDate.Year, rtcDate.Month, rtcDate.Date, rtcDate… in set_timestamp()
/bsp/ht32/libraries/HT32_STD_5xxxx_FWLib/
A DRelease_Notes.txt84 Release Date: 2024-11-29
95 Release Date: 2024-11-26
121 Release Date: 2024-11-08
167 Release Date: 2024-10-23
177 Release Date: 2024-09-24
206 Release Date: 2024-08-08
221 Release Date: 2024-07-26
280 Release Date: 2024-06-11
310 Release Date: 2024-02-29
343 Release Date: 2023-12-22
[all …]
/bsp/stm32/libraries/HAL_Drivers/drivers/
A Ddrv_rtc.c71 tm_new.tm_mday = RTC_DateStruct.Date; in stm32_rtc_get_timeval()
105 RTC_DateStruct.Date = tm.tm_mday; in set_rtc_time_stamp()
126 HAL_RTCEx_BKUPWrite(&RTC_Handler, RTC_BKP_DR4, RTC_DateStruct.Date); in set_rtc_time_stamp()
143 RTC_DateStruct.Date = HAL_RTCEx_BKUPRead(&RTC_Handler, RTC_BKP_DR4); in rt_rtc_f1_bkp_update()
151 if (HAL_RTCEx_BKUPRead(&RTC_Handler, RTC_BKP_DR4) != RTC_DateStruct.Date) in rt_rtc_f1_bkp_update()
156 HAL_RTCEx_BKUPWrite(&RTC_Handler, RTC_BKP_DR4, RTC_DateStruct.Date); in rt_rtc_f1_bkp_update()
/bsp/synwit/libraries/SWM320_CSL/SWM320_StdPeriph_Driver/
A DSWM320_rtc.h17 uint8_t Date; //取值1--31 member
36 uint8_t Date; member
A DSWM320_rtc.c51 (initStruct->Date << RTC_DATHUR_DATE_Pos); in RTC_Init()
53 …RTCx->MONDAY = (calcWeekDay(initStruct->Year, initStruct->Month, initStruct->Date) << RTC_MONDAY_D… in RTC_Init()
110 dateTime->Date = (RTCx->DATHUR & RTC_DATHUR_DATE_Msk) >> RTC_DATHUR_DATE_Pos; in RTC_GetDateTime()
/bsp/synwit/libraries/SWM341_CSL/SWM341_StdPeriph_Driver/
A DSWM341_rtc.c57 (initStruct->Date << RTC_DATHUR_DATE_Pos); in RTC_Init()
59 …RTCx->MONDAY = (calcWeekDay(initStruct->Year, initStruct->Month, initStruct->Date) << RTC_MONDAY_D… in RTC_Init()
116 dateTime->Date = (RTCx->DATHUR & RTC_DATHUR_DATE_Msk) >> RTC_DATHUR_DATE_Pos; in RTC_GetDateTime()
A DSWM341_rtc.h21 uint8_t Date; //取值1--31 member
40 uint8_t Date; member
/bsp/ht32/libraries/HT32_STD_1xxxx_FWLib/
A DRelease_Notes.txt40 Release Date: 2024-11-08
117 Release Date: 2023-10-31
173 Release Date: 2023-02-02
195 Release Date: 2022-12-01
232 Release Date: 2022-10-11
269 Release Date: 2022-06-10
318 Release Date: 2022-04-14
334 Release Date: 2022-04-14
350 Release Date: 2022-03-15
375 Release Date: 2021-08-19
[all …]
/bsp/loongson/ls1cdev/libraries/
A Dls1c_rtc.c38 | (sTime->Date << LS1C_DAY_OFFSET) in RTC_SetTime()
56 sTime->Date = ls1c_get_day(toy_read0); in RTC_GetTime()
A Dls1c_rtc.h21 unsigned char Date; /*1 ~ 31 */ member
/bsp/n32/libraries/N32G45x_Firmware_Library/n32g45x_std_periph_driver/src/
A Dn32g45x_rtc.c636 assert_param(IS_RTC_DATE(RTC_DateStruct->Date)); in RTC_SetDate()
643 tmpregister = RTC_Bcd2ToByte(RTC_DateStruct->Date); 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()
713 RTC_DateStruct->Date = 1; in RTC_DateStructInit()
740 RTC_DateStruct->Date = (uint8_t)(tmpregister & (RTC_DATE_DAT | RTC_DATE_DAU)); in RTC_GetDate()
749 RTC_DateStruct->Date = (uint8_t)RTC_Bcd2ToByte(RTC_DateStruct->Date); in RTC_GetDate()
1593 RTC_StampDateStruct->Date = (uint8_t)(tmpdate & (RTC_DATE_DAT | RTC_DATE_DAU)); in RTC_GetTimeStamp()
1606 RTC_StampDateStruct->Date = (uint8_t)RTC_Bcd2ToByte(RTC_StampDateStruct->Date); in RTC_GetTimeStamp()
/bsp/n32/libraries/N32G4FR_Firmware_Library/n32g4fr_std_periph_driver/src/
A Dn32g4fr_rtc.c636 assert_param(IS_RTC_DATE(RTC_DateStruct->Date)); in RTC_SetDate()
643 tmpregister = RTC_Bcd2ToByte(RTC_DateStruct->Date); 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()
711 RTC_DateStruct->Date = 1; in RTC_DateStructInit()
738 RTC_DateStruct->Date = (uint8_t)(tmpregister & (RTC_DATE_DAT | RTC_DATE_DAU)); in RTC_GetDate()
747 RTC_DateStruct->Date = (uint8_t)RTC_Bcd2ToByte(RTC_DateStruct->Date); in RTC_GetDate()
1592 RTC_StampDateStruct->Date = (uint8_t)(tmpdate & (RTC_DATE_DAT | RTC_DATE_DAU)); in RTC_GetTimeStamp()
1605 RTC_StampDateStruct->Date = (uint8_t)RTC_Bcd2ToByte(RTC_StampDateStruct->Date); in RTC_GetTimeStamp()
/bsp/n32/libraries/N32WB452_Firmware_Library/n32wb452_std_periph_driver/src/
A Dn32wb452_rtc.c636 assert_param(IS_RTC_DATE(RTC_DateStruct->Date)); in RTC_SetDate()
643 tmpregister = RTC_Bcd2ToByte(RTC_DateStruct->Date); 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()
713 RTC_DateStruct->Date = 1; in RTC_DateStructInit()
740 RTC_DateStruct->Date = (uint8_t)(tmpregister & (RTC_DATE_DAT | RTC_DATE_DAU)); in RTC_GetDate()
749 RTC_DateStruct->Date = (uint8_t)RTC_Bcd2ToByte(RTC_DateStruct->Date); in RTC_GetDate()
1593 RTC_StampDateStruct->Date = (uint8_t)(tmpdate & (RTC_DATE_DAT | RTC_DATE_DAU)); in RTC_GetTimeStamp()
1606 RTC_StampDateStruct->Date = (uint8_t)RTC_Bcd2ToByte(RTC_StampDateStruct->Date); in RTC_GetTimeStamp()
/bsp/n32g452xx/Libraries/N32_Std_Driver/n32g45x_std_periph_driver/src/
A Dn32g45x_rtc.c633 assert_param(IS_RTC_DATE(RTC_DateStruct->Date)); in RTC_SetDate()
640 tmpregister = RTC_Bcd2ToByte(RTC_DateStruct->Date); 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()
708 RTC_DateStruct->Date = 1; in RTC_DateStructInit()
735 RTC_DateStruct->Date = (uint8_t)(tmpregister & (RTC_DATE_DAT | RTC_DATE_DAU)); in RTC_GetDate()
744 RTC_DateStruct->Date = (uint8_t)RTC_Bcd2ToByte(RTC_DateStruct->Date); in RTC_GetDate()
1596 RTC_StampDateStruct->Date = (uint8_t)(tmpdate & (RTC_DATE_DAT | RTC_DATE_DAU)); in RTC_GetTimeStamp()
1609 RTC_StampDateStruct->Date = (uint8_t)RTC_Bcd2ToByte(RTC_StampDateStruct->Date); in RTC_GetTimeStamp()
/bsp/n32/libraries/N32L40x_Firmware_Library/n32l40x_std_periph_driver/src/
A Dn32l40x_rtc.c682 assert_param(IS_RTC_DATE(RTC_DateStruct->Date)); in RTC_SetDate()
689 tmpregister = RTC_Bcd2ToByte(RTC_DateStruct->Date); 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()
759 RTC_DateStruct->Date = 1; in RTC_DateStructInit()
786 RTC_DateStruct->Date = (uint8_t)(tmpregister & (RTC_DATE_DAT | RTC_DATE_DAU)); in RTC_GetDate()
795 RTC_DateStruct->Date = (uint8_t)RTC_Bcd2ToByte(RTC_DateStruct->Date); in RTC_GetDate()
1640 RTC_StampDateStruct->Date = (uint8_t)(tmpdate & (RTC_DATE_DAT | RTC_DATE_DAU)); in RTC_GetTimeStamp()
1653 RTC_StampDateStruct->Date = (uint8_t)RTC_Bcd2ToByte(RTC_StampDateStruct->Date); in RTC_GetTimeStamp()
/bsp/n32/libraries/N32L43x_Firmware_Library/n32l43x_std_periph_driver/src/
A Dn32l43x_rtc.c629 assert_param(IS_RTC_DATE(RTC_DateStruct->Date)); in RTC_SetDate()
636 tmpregister = RTC_Bcd2ToByte(RTC_DateStruct->Date); 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()
701 RTC_DateStruct->Date = 1; in RTC_DateStructInit()
725 RTC_DateStruct->Date = (uint8_t)(tmpregister & (RTC_DATE_DAT | RTC_DATE_DAU)); in RTC_GetDate()
733 RTC_DateStruct->Date = (uint8_t)RTC_Bcd2ToByte(RTC_DateStruct->Date); in RTC_GetDate()
1491 RTC_StampDateStruct->Date = (uint8_t)(tmpdate & (RTC_DATE_DAT | RTC_DATE_DAU)); in RTC_GetTimeStamp()
1502 RTC_StampDateStruct->Date = (uint8_t)RTC_Bcd2ToByte(RTC_StampDateStruct->Date); in RTC_GetTimeStamp()
/bsp/n32/libraries/N32G43x_Firmware_Library/n32g43x_std_periph_driver/src/
A Dn32g43x_rtc.c670 assert_param(IS_RTC_DATE(RTC_DateStruct->Date)); in RTC_SetDate()
677 tmpregister = RTC_Bcd2ToByte(RTC_DateStruct->Date); 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()
747 RTC_DateStruct->Date = 1; in RTC_DateStructInit()
774 RTC_DateStruct->Date = (uint8_t)(tmpregister & (RTC_DATE_DAT | RTC_DATE_DAU)); in RTC_GetDate()
783 RTC_DateStruct->Date = (uint8_t)RTC_Bcd2ToByte(RTC_DateStruct->Date); in RTC_GetDate()
1628 RTC_StampDateStruct->Date = (uint8_t)(tmpdate & (RTC_DATE_DAT | RTC_DATE_DAU)); in RTC_GetTimeStamp()
1641 RTC_StampDateStruct->Date = (uint8_t)RTC_Bcd2ToByte(RTC_StampDateStruct->Date); in RTC_GetTimeStamp()
/bsp/Vango/v85xx/Libraries/VangoV85xx_standard_peripheral/Source/
A Dlib_rtc.c142 assert_parameters(IS_RTC_TIME_DATE(sTime->Date)); in RTC_SetTime()
158 RTC->DAY = sTime->Date; in RTC_SetTime()
191 gTime->Date = RTC->DAY; in RTC_GetTime()
/bsp/n32/libraries/n32_drivers/
A Ddrv_rtc.c34 tm_new.tm_mday = RTC_DateStructure.Date; in n32_rtc_get_timeval()
58 RTC_DateStructure.Date = time.tm_mday; in set_rtc_time_stamp()
/bsp/airm2m/air105/libraries/HAL_Driver/Inc/
A Dbsp_common.h64 Date_UserDataStruct Date; member
217 LongInt UTC2Tamp(Date_UserDataStruct *Date, Time_UserDataStruct *Time);
218 uint32_t Tamp2UTC(LongInt Sec, Date_UserDataStruct *Date, Time_UserDataStruct *Time, uint32_t LastD…
/bsp/stm32/stm32h750-fk750m1-vbt6/board/
A DSConscript3 Date: 2023-03-21 02:10:16
/bsp/nuvoton/numaker-pfm-m487/board/NuClockConfig/
A Dnutool_modclkcfg.cfg4 * @Date 2020/04/15-11:28:42

Completed in 56 milliseconds

123456