Home
last modified time | relevance | path

Searched refs:secondsRemaining (Results 1 – 5 of 5) sorted by relevance

/hal_nxp-2.7.6/mcux/drivers/imxrt6xx/
Dfsl_rtc.c127 uint32_t secondsRemaining; in RTC_ConvertSecondsToDatetime() local
135 secondsRemaining = seconds; in RTC_ConvertSecondsToDatetime()
140 days = secondsRemaining / SECONDS_IN_A_DAY + 1U; in RTC_ConvertSecondsToDatetime()
143 secondsRemaining = secondsRemaining % SECONDS_IN_A_DAY; in RTC_ConvertSecondsToDatetime()
146 datetime->hour = (uint8_t)(secondsRemaining / SECONDS_IN_A_HOUR); in RTC_ConvertSecondsToDatetime()
147 secondsRemaining = secondsRemaining % SECONDS_IN_A_HOUR; in RTC_ConvertSecondsToDatetime()
148 datetime->minute = (uint8_t)(secondsRemaining / 60U); in RTC_ConvertSecondsToDatetime()
149 datetime->second = (uint8_t)(secondsRemaining % SECONDS_IN_A_MINUTE); in RTC_ConvertSecondsToDatetime()
/hal_nxp-2.7.6/mcux/drivers/lpc/
Dfsl_rtc.c127 uint32_t secondsRemaining; in RTC_ConvertSecondsToDatetime() local
135 secondsRemaining = seconds; in RTC_ConvertSecondsToDatetime()
140 days = secondsRemaining / SECONDS_IN_A_DAY + 1U; in RTC_ConvertSecondsToDatetime()
143 secondsRemaining = secondsRemaining % SECONDS_IN_A_DAY; in RTC_ConvertSecondsToDatetime()
146 datetime->hour = (uint8_t)(secondsRemaining / SECONDS_IN_A_HOUR); in RTC_ConvertSecondsToDatetime()
147 secondsRemaining = secondsRemaining % SECONDS_IN_A_HOUR; in RTC_ConvertSecondsToDatetime()
148 datetime->minute = (uint8_t)(secondsRemaining / 60U); in RTC_ConvertSecondsToDatetime()
149 datetime->second = (uint8_t)(secondsRemaining % SECONDS_IN_A_MINUTE); in RTC_ConvertSecondsToDatetime()
/hal_nxp-2.7.6/mcux/drivers/imx/
Dfsl_snvs_hp.c165 uint32_t secondsRemaining, days; in SNVS_HP_ConvertSecondsToDatetime() local
173 secondsRemaining = seconds; in SNVS_HP_ConvertSecondsToDatetime()
178 days = secondsRemaining / SECONDS_IN_A_DAY + 1U; in SNVS_HP_ConvertSecondsToDatetime()
181 secondsRemaining = secondsRemaining % SECONDS_IN_A_DAY; in SNVS_HP_ConvertSecondsToDatetime()
184 datetime->hour = (uint8_t)(secondsRemaining / SECONDS_IN_A_HOUR); in SNVS_HP_ConvertSecondsToDatetime()
185 secondsRemaining = secondsRemaining % SECONDS_IN_A_HOUR; in SNVS_HP_ConvertSecondsToDatetime()
186 datetime->minute = (uint8_t)(secondsRemaining / 60U); in SNVS_HP_ConvertSecondsToDatetime()
187 datetime->second = (uint8_t)(secondsRemaining % SECONDS_IN_A_MINUTE); in SNVS_HP_ConvertSecondsToDatetime()
Dfsl_snvs_lp.c160 uint32_t secondsRemaining, days; in SNVS_LP_ConvertSecondsToDatetime() local
168 secondsRemaining = seconds; in SNVS_LP_ConvertSecondsToDatetime()
173 days = secondsRemaining / SECONDS_IN_A_DAY + 1U; in SNVS_LP_ConvertSecondsToDatetime()
176 secondsRemaining = secondsRemaining % SECONDS_IN_A_DAY; in SNVS_LP_ConvertSecondsToDatetime()
179 datetime->hour = (uint8_t)(secondsRemaining / SECONDS_IN_A_HOUR); in SNVS_LP_ConvertSecondsToDatetime()
180 secondsRemaining = secondsRemaining % SECONDS_IN_A_HOUR; in SNVS_LP_ConvertSecondsToDatetime()
181 datetime->minute = (uint8_t)(secondsRemaining / 60U); in SNVS_LP_ConvertSecondsToDatetime()
182 datetime->second = (uint8_t)(secondsRemaining % SECONDS_IN_A_MINUTE); in SNVS_LP_ConvertSecondsToDatetime()
/hal_nxp-2.7.6/mcux/drivers/kinetis/
Dfsl_rtc.c126 uint32_t secondsRemaining, days; in RTC_ConvertSecondsToDatetime() local
134 secondsRemaining = seconds; in RTC_ConvertSecondsToDatetime()
139 days = secondsRemaining / SECONDS_IN_A_DAY + 1U; in RTC_ConvertSecondsToDatetime()
142 secondsRemaining = secondsRemaining % SECONDS_IN_A_DAY; in RTC_ConvertSecondsToDatetime()
145 datetime->hour = (uint8_t)(secondsRemaining / SECONDS_IN_A_HOUR); in RTC_ConvertSecondsToDatetime()
146 secondsRemaining = secondsRemaining % SECONDS_IN_A_HOUR; in RTC_ConvertSecondsToDatetime()
147 datetime->minute = (uint8_t)(secondsRemaining / 60U); in RTC_ConvertSecondsToDatetime()
148 datetime->second = (uint8_t)(secondsRemaining % SECONDS_IN_A_MINUTE); in RTC_ConvertSecondsToDatetime()