Zephyr API Documentation
2.7.0-rc2
A Scalable Open Source RTOS
|
Timer driver API. More...
Go to the source code of this file.
Functions | |
int | sys_clock_driver_init (const struct device *dev) |
Initialize system clock driver. More... | |
int | clock_device_ctrl (const struct device *dev, enum pm_device_state state) |
Initialize system clock driver. More... | |
void | sys_clock_set_timeout (int32_t ticks, bool idle) |
Set system clock timeout. More... | |
void | sys_clock_idle_exit (void) |
Timer idle exit notification. More... | |
void | sys_clock_announce (int32_t ticks) |
Announce time progress to the kernel. More... | |
uint32_t | sys_clock_elapsed (void) |
Ticks elapsed since last sys_clock_announce() call. More... | |
Timer driver API.
Declare API implemented by system timer driver and used by kernel components.