Zephyr API Documentation 3.7.99
A Scalable Open Source RTOS
|
Real-time clock control based on the MCUX IMX SNVS counter API. More...
#include <zephyr/device.h>
Go to the source code of this file.
Functions | |
int | mcux_snvs_rtc_set (const struct device *dev, uint32_t ticks) |
Set the current counter value. | |
Real-time clock control based on the MCUX IMX SNVS counter API.
The core Zephyr API to this device is as a counter.
Additional implementation details a user should take into account:
Set the current counter value.
As the counter advances at 1Hz this will usually be set to the current UNIX time stamp.
dev | the IMX SNVS RTC device pointer. |
ticks | the new value of the internal counter |
non-negative | on success |