Zephyr API Documentation 4.0.0
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
mcux_snvs_rtc.h
Go to the documentation of this file.
1/*
2 * Copyright (c) 2021 Basalte bv
3 *
4 * SPDX-License-Identifier: Apache-2.0
5 */
6
21#ifndef ZEPHYR_INCLUDE_DRIVERS_RTC_MCUX_SNVS_H_
22#define ZEPHYR_INCLUDE_DRIVERS_RTC_MCUX_SNVS_H_
23
24#include <zephyr/device.h>
25
26#ifdef __cplusplus
27extern "C" {
28#endif
29
41int mcux_snvs_rtc_set(const struct device *dev, uint32_t ticks);
42
43#ifdef __cplusplus
44}
45#endif
46
47#endif /* ZEPHYR_INCLUDE_DRIVERS_RTC_MCUX_SNVS_H_ */
int mcux_snvs_rtc_set(const struct device *dev, uint32_t ticks)
Set the current counter value.
__UINT32_TYPE__ uint32_t
Definition stdint.h:90
Runtime device structure (in ROM) per driver instance.
Definition device.h:412