Home
last modified time | relevance | path

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

/hal_nxp-2.7.6/mcux/drivers/imx/
Dfsl_snvs_hp.c424 uint32_t alarmSeconds = 0U; in SNVS_HP_RTC_SetAlarm() local
434 alarmSeconds = SNVS_HP_ConvertDatetimeToSeconds(alarmTime); in SNVS_HP_RTC_SetAlarm()
438 if (alarmSeconds < currSeconds) in SNVS_HP_RTC_SetAlarm()
450 base->HPTAMR = (uint32_t)(alarmSeconds >> 17U); in SNVS_HP_RTC_SetAlarm()
451 base->HPTALR = (uint32_t)(alarmSeconds << 15U); in SNVS_HP_RTC_SetAlarm()
469 uint32_t alarmSeconds = 0U; in SNVS_HP_RTC_GetAlarm() local
472 alarmSeconds = (base->HPTAMR << 17U); in SNVS_HP_RTC_GetAlarm()
473 alarmSeconds |= (base->HPTALR >> 15U); in SNVS_HP_RTC_GetAlarm()
475 SNVS_HP_ConvertSecondsToDatetime(alarmSeconds, datetime); in SNVS_HP_RTC_GetAlarm()
Dfsl_snvs_lp.c437 uint32_t alarmSeconds = 0U; in SNVS_LP_SRTC_SetAlarm() local
447 alarmSeconds = SNVS_LP_ConvertDatetimeToSeconds(alarmTime); in SNVS_LP_SRTC_SetAlarm()
451 if (alarmSeconds <= currSeconds) in SNVS_LP_SRTC_SetAlarm()
463 base->LPTAR = alarmSeconds; in SNVS_LP_SRTC_SetAlarm()
481 uint32_t alarmSeconds = 0U; in SNVS_LP_SRTC_GetAlarm() local
484 alarmSeconds = base->LPTAR; in SNVS_LP_SRTC_GetAlarm()
486 SNVS_LP_ConvertSecondsToDatetime(alarmSeconds, datetime); in SNVS_LP_SRTC_GetAlarm()
/hal_nxp-2.7.6/mcux/drivers/imxrt6xx/
Dfsl_rtc.c280 uint32_t alarmSeconds = 0; in RTC_SetAlarm() local
289 alarmSeconds = RTC_ConvertDatetimeToSeconds(alarmTime); in RTC_SetAlarm()
295 if (alarmSeconds < currSeconds) in RTC_SetAlarm()
301 base->MATCH = alarmSeconds; in RTC_SetAlarm()
316 uint32_t alarmSeconds = 0; in RTC_GetAlarm() local
319 alarmSeconds = base->MATCH; in RTC_GetAlarm()
321 RTC_ConvertSecondsToDatetime(alarmSeconds, datetime); in RTC_GetAlarm()
/hal_nxp-2.7.6/mcux/drivers/lpc/
Dfsl_rtc.c280 uint32_t alarmSeconds = 0; in RTC_SetAlarm() local
289 alarmSeconds = RTC_ConvertDatetimeToSeconds(alarmTime); in RTC_SetAlarm()
295 if (alarmSeconds < currSeconds) in RTC_SetAlarm()
301 base->MATCH = alarmSeconds; in RTC_SetAlarm()
316 uint32_t alarmSeconds = 0; in RTC_GetAlarm() local
319 alarmSeconds = base->MATCH; in RTC_GetAlarm()
321 RTC_ConvertSecondsToDatetime(alarmSeconds, datetime); in RTC_GetAlarm()
/hal_nxp-2.7.6/mcux/drivers/kinetis/
Dfsl_rtc.c339 uint32_t alarmSeconds = 0; in RTC_SetAlarm() local
348 alarmSeconds = RTC_ConvertDatetimeToSeconds(alarmTime); in RTC_SetAlarm()
354 if (alarmSeconds < currSeconds) in RTC_SetAlarm()
360 base->TAR = alarmSeconds; in RTC_SetAlarm()
375 uint32_t alarmSeconds = 0; in RTC_GetAlarm() local
378 alarmSeconds = base->TAR; in RTC_GetAlarm()
380 RTC_ConvertSecondsToDatetime(alarmSeconds, datetime); in RTC_GetAlarm()