| /bsp/allwinner/libraries/sunxi-hal/hal/source/rtc/ |
| A D | rtc-lib.c | 34 int rtc_month_days(unsigned int month, unsigned int year) in rtc_month_days() 42 int rtc_year_days(unsigned int day, unsigned int month, unsigned int year) in rtc_year_days() 90 unsigned int mon = mon0, year = year0; in mktime64() local 155 unsigned int month, year, secs; in rtc_time64_to_tm() local
|
| A D | hal_rtc.c | 237 int year = 0, leap, i; in hal_rtc_day_to_ymd() local 339 int year; in hal_rtc_settime() local
|
| /bsp/samd21/sam_d2x_asflib/common/services/calendar/ |
| A D | calendar.c | 79 static bool calendar_leapyear(uint16_t year) in calendar_leapyear() 100 static uint16_t calendar_yearsize(uint16_t year) in calendar_yearsize() 159 uint8_t year = date->year; in calendar_add_day_to_date() local
|
| A D | calendar.h | 79 uint16_t year; //!< 1970-2105 member
|
| /bsp/cvitek/drivers/ |
| A D | drv_rtc.c | 83 static inline int is_leap_year(unsigned int year) in is_leap_year() 88 static int rtc_month_days(unsigned int month, unsigned int year) in rtc_month_days() 172 unsigned int month, year, secs; in rtc_time64_to_tm() local 213 unsigned int mon = mon0, year = year0; in mktime64() local
|
| /bsp/ck802/libraries/common/rtc/ |
| A D | ck_rtc.c | 58 static inline int clock_isleapyear(int year) in clock_isleapyear() 116 static time_t clock_calendar2utc(int year, int month, int day) in clock_calendar2utc() 159 static void clock_utc2calendar(time_t days, int *year, int *month, in clock_utc2calendar() 269 int year; in gmtime_r() local
|
| /bsp/synwit/libraries/SWM320_drivers/ |
| A D | drv_rtc.c | 23 static uint32_t calcWeekDay(uint32_t year, uint32_t month, uint32_t date) in calcWeekDay()
|
| /bsp/synwit/libraries/SWM341_drivers/ |
| A D | drv_rtc.c | 22 static uint32_t calcWeekDay(uint32_t year, uint32_t month, uint32_t date) in calcWeekDay()
|
| /bsp/synwit/libraries/SWM320_CSL/SWM320_StdPeriph_Driver/ |
| A D | SWM320_rtc.c | 154 static uint32_t calcWeekDay(uint32_t year, uint32_t month, uint32_t date) in calcWeekDay()
|
| /bsp/synwit/libraries/SWM341_CSL/SWM341_StdPeriph_Driver/ |
| A D | SWM341_rtc.c | 166 static uint32_t calcWeekDay(uint32_t year, uint32_t month, uint32_t date) in calcWeekDay()
|
| /bsp/nrf5x/libraries/drivers/ |
| A D | drv_rtc.c | 25 #define RTC_TIME_INIT(year, month, day, hour, minute, second) \ argument
|
| /bsp/loongson/ls1cdev/libraries/ |
| A D | ls1c_rtc.c | 86 unsigned long year = 0U, weekday = 0U; in RTC_WeekDayNum() local
|
| /bsp/Infineon/libraries/HAL_Drivers/ |
| A D | drv_rtc.c | 35 static int get_day_of_week(int day, int month, int year) in get_day_of_week()
|
| /bsp/allwinner/libraries/sunxi-hal/include/hal/rtc/ |
| A D | rtc.h | 59 static inline int is_leap_year(unsigned int year) in is_leap_year()
|
| /bsp/nuvoton/libraries/m2354/rtt_port/ |
| A D | drv_rtc.c | 23 #define CONV_TO_TM_YEAR(year) ((year) - 1900) argument
|
| /bsp/nuvoton/libraries/m031/rtt_port/ |
| A D | drv_rtc.c | 23 #define CONV_TO_TM_YEAR(year) ((year) - 1900) argument
|
| /bsp/nuvoton/libraries/n9h30/rtt_port/ |
| A D | drv_rtc.c | 24 #define CONV_TO_TM_YEAR(year) ((year) - 1900) argument
|
| /bsp/nuvoton/libraries/nuc980/rtt_port/ |
| A D | drv_rtc.c | 24 #define CONV_TO_TM_YEAR(year) ((year) - 1900) argument
|
| /bsp/nuvoton/libraries/m460/rtt_port/ |
| A D | drv_rtc.c | 23 #define CONV_TO_TM_YEAR(year) ((year) - 1900) argument
|
| /bsp/nuvoton/libraries/m480/rtt_port/ |
| A D | drv_rtc.c | 23 #define CONV_TO_TM_YEAR(year) ((year) - 1900) argument
|
| /bsp/nuvoton/libraries/ma35/rtt_port/ |
| A D | drv_rtc.c | 25 #define CONV_TO_TM_YEAR(year) ((year) - 1900) argument
|
| /bsp/frdm-k64f/device/MK64F12/ |
| A D | fsl_rtc.h | 83 uint16_t year; /*!< Range from 1970 to 2099.*/ member
|
| /bsp/wch/arm/ch579m/libraries/StdPeriphDriver/ |
| A D | CH57x_clk.c | 376 UINT16 year, month, day, sec2, t32k; in RTC_InitTime() local
|
| /bsp/rv32m1_vega/rv32m1_sdk_riscv/devices/RV32M1/drivers/ |
| A D | fsl_rtc.h | 95 uint16_t year; /*!< Range from 1970 to 2099.*/ member
|
| /bsp/n32/libraries/N32WB452_Firmware_Library/n32wb452_ble_driver/inc/ |
| A D | prf_types.h | 117 uint16_t year; member
|