1 /* 2 * Copyright (c) 2025 NXP 3 * 4 * SPDX-License-Identifier: Apache-2.0 5 */ 6 7 #ifndef ZEPHYR_INCLUDE_DRIVERS_TIMER_NXP_OS_TIMER_H 8 #define ZEPHYR_INCLUDE_DRIVERS_TIMER_NXP_OS_TIMER_H 9 10 #ifdef __cplusplus 11 extern "C" { 12 #endif 13 14 /** @brief The timer may have overflowed and triggered a wakeup. 15 * 16 * OS Timer for certain low power modes switches to a counter maintain 17 * system time as it is powered off. These counters could overflow for 18 * certain tick values like K_TICKS_FOREVER. This could trigger a wakeup 19 * event which the system could ignore and go back to sleep. 20 * 21 * @retval true if the PM subsystem should ignore wakeup events and go back 22 * to sleep. 23 * false if the timer wakeup event is as expected 24 */ 25 bool z_nxp_os_timer_ignore_timer_wakeup(void); 26 27 #ifdef __cplusplus 28 } 29 #endif 30 31 #endif /* ZEPHYR_INCLUDE_DRIVERS_TIMER_NXP_OS_TIMER_H */ 32