Zephyr API Documentation 4.5.99
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
system_timer_lpm.h
Go to the documentation of this file.
1/*
2 * Copyright (c) 2025 STMicroelectronics
3 * Copyright 2026 NXP
4 *
5 * SPDX-License-Identifier: Apache-2.0
6 */
7
15
16#ifndef ZEPHYR_INCLUDE_DRIVERS_TIMER_SYSTEM_TIMER_LPM_H_
17#define ZEPHYR_INCLUDE_DRIVERS_TIMER_SYSTEM_TIMER_LPM_H_
18
19#include <zephyr/devicetree.h>
20#include <zephyr/types.h>
21
22#ifdef __cplusplus
23extern "C" {
24#endif
25
40
47#define SYSTEM_TIMER_COMPANION_NODE DT_CHOSEN(zephyr_system_timer_companion)
48
59void z_sys_clock_lpm_init(void);
60
73void z_sys_clock_lpm_enter(uint64_t max_lpm_time_us);
74
86uint64_t z_sys_clock_lpm_exit(void);
87
89
90#ifdef __cplusplus
91}
92#endif
93
94#endif /* ZEPHYR_INCLUDE_DRIVERS_TIMER_SYSTEM_TIMER_LPM_H_ */
Devicetree main header.
__UINT64_TYPE__ uint64_t
Definition stdint.h:91