13#ifndef ZEPHYR_INCLUDE_DRIVERS_RTC_RTC_FAKE_H_
14#define ZEPHYR_INCLUDE_DRIVERS_RTC_RTC_FAKE_H_
17#include <zephyr/fff.h>
50#if defined(CONFIG_RTC_ALARM) || defined(__DOXYGEN__)
82#if defined(CONFIG_RTC_UPDATE) || defined(__DOXYGEN__)
91#if defined(CONFIG_RTC_CALIBRATION) || defined(__DOXYGEN__)
int rtc_fake_alarm_is_pending(const struct device *, uint16_t)
Fake implementation of the rtc_driver_api::alarm_is_pending driver operation.
int rtc_fake_get_time(const struct device *, struct rtc_time *)
Fake implementation of the rtc_driver_api::get_time driver operation.
int rtc_fake_alarm_get_supported_fields(const struct device *, uint16_t, uint16_t *)
Fake implementation of the rtc_driver_api::alarm_get_supported_fields driver operation.
int rtc_fake_alarm_set_callback(const struct device *, uint16_t, rtc_alarm_callback, void *)
Fake implementation of the rtc_driver_api::alarm_set_callback driver operation.
int rtc_fake_alarm_set_time(const struct device *, uint16_t, uint16_t, const struct rtc_time *)
Fake implementation of the rtc_driver_api::alarm_set_time driver operation.
int rtc_fake_get_calibration(const struct device *, int32_t *)
Fake implementation of the rtc_driver_api::get_calibration driver operation.
int rtc_fake_set_calibration(const struct device *, int32_t)
Fake implementation of the rtc_driver_api::set_calibration driver operation.
int rtc_fake_update_set_callback(const struct device *, rtc_update_callback, void *)
Fake implementation of the rtc_driver_api::update_set_callback driver operation.
int rtc_fake_set_time(const struct device *, const struct rtc_time *)
Fake implementation of the rtc_driver_api::set_time driver operation.
int rtc_fake_alarm_get_time(const struct device *, uint16_t, uint16_t *, struct rtc_time *)
Fake implementation of the rtc_driver_api::alarm_get_time driver operation.
void(* rtc_alarm_callback)(const struct device *dev, uint16_t id, void *user_data)
RTC alarm triggered callback.
Definition rtc.h:95
void(* rtc_update_callback)(const struct device *dev, void *user_data)
RTC update event callback.
Definition rtc.h:86
Main header file for real-time clock (RTC) driver API.
__INT32_TYPE__ int32_t
Definition stdint.h:74
__UINT16_TYPE__ uint16_t
Definition stdint.h:89
Runtime device structure (in ROM) per driver instance.
Definition device.h:543
Structure for storing date and time values with sub-second precision.
Definition rtc.h:67