/hal_nxp-2.7.6/mcux/drivers/imxrt6xx/ |
D | fsl_rtc.c | 66 uint8_t daysPerMonth[] = {0U, 31U, 28U, 31U, 30U, 31U, 30U, 31U, 31U, 30U, 31U, 30U, 31U}; in RTC_CheckDatetimeFormat() local 79 daysPerMonth[2] = 29U; in RTC_CheckDatetimeFormat() 83 if ((datetime->day > daysPerMonth[datetime->month]) || (datetime->day < 1U)) in RTC_CheckDatetimeFormat() 132 uint8_t daysPerMonth[] = {0U, 31U, 28U, 31U, 30U, 31U, 30U, 31U, 31U, 30U, 31U, 30U, 31U}; in RTC_ConvertSecondsToDatetime() local 174 daysPerMonth[2] = 29U; in RTC_ConvertSecondsToDatetime() 179 if (days <= daysPerMonth[i]) in RTC_ConvertSecondsToDatetime() 186 days -= daysPerMonth[i]; in RTC_ConvertSecondsToDatetime()
|
/hal_nxp-2.7.6/mcux/drivers/lpc/ |
D | fsl_rtc.c | 66 uint8_t daysPerMonth[] = {0U, 31U, 28U, 31U, 30U, 31U, 30U, 31U, 31U, 30U, 31U, 30U, 31U}; in RTC_CheckDatetimeFormat() local 79 daysPerMonth[2] = 29U; in RTC_CheckDatetimeFormat() 83 if ((datetime->day > daysPerMonth[datetime->month]) || (datetime->day < 1U)) in RTC_CheckDatetimeFormat() 132 uint8_t daysPerMonth[] = {0U, 31U, 28U, 31U, 30U, 31U, 30U, 31U, 31U, 30U, 31U, 30U, 31U}; in RTC_ConvertSecondsToDatetime() local 174 daysPerMonth[2] = 29U; in RTC_ConvertSecondsToDatetime() 179 if (days <= daysPerMonth[i]) in RTC_ConvertSecondsToDatetime() 186 days -= daysPerMonth[i]; in RTC_ConvertSecondsToDatetime()
|
/hal_nxp-2.7.6/mcux/drivers/imx/ |
D | fsl_snvs_hp.c | 105 uint8_t daysPerMonth[] = {0U, 31U, 28U, 31U, 30U, 31U, 30U, 31U, 31U, 30U, 31U, 30U, 31U}; in SNVS_HP_CheckDatetimeFormat() local 118 daysPerMonth[2] = 29U; in SNVS_HP_CheckDatetimeFormat() 122 if ((datetime->day > daysPerMonth[datetime->month]) || (datetime->day < 1U)) in SNVS_HP_CheckDatetimeFormat() 170 uint8_t daysPerMonth[] = {0U, 31U, 28U, 31U, 30U, 31U, 30U, 31U, 31U, 30U, 31U, 30U, 31U}; in SNVS_HP_ConvertSecondsToDatetime() local 212 daysPerMonth[2] = 29U; in SNVS_HP_ConvertSecondsToDatetime() 217 if (days <= daysPerMonth[x]) in SNVS_HP_ConvertSecondsToDatetime() 224 days -= daysPerMonth[x]; in SNVS_HP_ConvertSecondsToDatetime()
|
D | fsl_snvs_lp.c | 100 uint8_t daysPerMonth[] = {0U, 31U, 28U, 31U, 30U, 31U, 30U, 31U, 31U, 30U, 31U, 30U, 31U}; in SNVS_LP_CheckDatetimeFormat() local 113 daysPerMonth[2] = 29U; in SNVS_LP_CheckDatetimeFormat() 117 if ((datetime->day > daysPerMonth[datetime->month]) || (datetime->day < 1U)) in SNVS_LP_CheckDatetimeFormat() 165 uint8_t daysPerMonth[] = {0U, 31U, 28U, 31U, 30U, 31U, 30U, 31U, 31U, 30U, 31U, 30U, 31U}; in SNVS_LP_ConvertSecondsToDatetime() local 207 daysPerMonth[2] = 29U; in SNVS_LP_ConvertSecondsToDatetime() 212 if (days <= daysPerMonth[x]) in SNVS_LP_ConvertSecondsToDatetime() 219 days -= daysPerMonth[x]; in SNVS_LP_ConvertSecondsToDatetime()
|
/hal_nxp-2.7.6/mcux/drivers/kinetis/ |
D | fsl_rtc.c | 66 uint8_t daysPerMonth[] = {0U, 31U, 28U, 31U, 30U, 31U, 30U, 31U, 31U, 30U, 31U, 30U, 31U}; in RTC_CheckDatetimeFormat() local 79 daysPerMonth[2] = 29U; in RTC_CheckDatetimeFormat() 83 if ((datetime->day > daysPerMonth[datetime->month]) || (datetime->day < 1U)) in RTC_CheckDatetimeFormat() 131 uint8_t daysPerMonth[] = {0U, 31U, 28U, 31U, 30U, 31U, 30U, 31U, 31U, 30U, 31U, 30U, 31U}; in RTC_ConvertSecondsToDatetime() local 173 daysPerMonth[2] = 29U; in RTC_ConvertSecondsToDatetime() 178 if (days <= daysPerMonth[x]) in RTC_ConvertSecondsToDatetime() 185 days -= daysPerMonth[x]; in RTC_ConvertSecondsToDatetime()
|