|
Zephyr Project API 4.4.99
A Scalable Open Source RTOS
|
Fake RTC driver. More...
Files | |
| file | rtc_fake.h |
| Fake RTC driver API functions. | |
Fake RTC driver.
@driver_fake{rtc_interface,CONFIG_RTC_FAKE,zephyr\,fake-rtc}
| DECLARE_FAKE_VALUE_FUNC | ( | int | , |
| rtc_fake_alarm_get_supported_fields | , | ||
| const struct device * | , | ||
| uint16_t | , | ||
| uint16_t * | ) |
#include <rtc_fake.h>
@fake_of{rtc_driver_api::alarm_get_supported_fields}
CONFIG_RTC_ALARM.
| DECLARE_FAKE_VALUE_FUNC | ( | int | , |
| rtc_fake_alarm_get_time | , | ||
| const struct device * | , | ||
| uint16_t | , | ||
| uint16_t * | , | ||
| struct rtc_time * | ) |
#include <rtc_fake.h>
@fake_of{rtc_driver_api::alarm_get_time}
CONFIG_RTC_ALARM.
#include <rtc_fake.h>
@fake_of{rtc_driver_api::alarm_is_pending}
CONFIG_RTC_ALARM.
| DECLARE_FAKE_VALUE_FUNC | ( | int | , |
| rtc_fake_alarm_set_callback | , | ||
| const struct device * | , | ||
| uint16_t | , | ||
| rtc_alarm_callback | , | ||
| void * | ) |
#include <rtc_fake.h>
@fake_of{rtc_driver_api::alarm_set_callback}
CONFIG_RTC_ALARM.
| DECLARE_FAKE_VALUE_FUNC | ( | int | , |
| rtc_fake_alarm_set_time | , | ||
| const struct device * | , | ||
| uint16_t | , | ||
| uint16_t | , | ||
| const struct rtc_time * | ) |
#include <rtc_fake.h>
@fake_of{rtc_driver_api::alarm_set_time}
CONFIG_RTC_ALARM.
#include <rtc_fake.h>
@fake_of{rtc_driver_api::get_calibration}
CONFIG_RTC_CALIBRATION.
#include <rtc_fake.h>
@fake_of{rtc_driver_api::get_time}
#include <rtc_fake.h>
@fake_of{rtc_driver_api::set_calibration}
CONFIG_RTC_CALIBRATION.
| DECLARE_FAKE_VALUE_FUNC | ( | int | , |
| rtc_fake_set_time | , | ||
| const struct device * | , | ||
| const struct rtc_time * | ) |
#include <rtc_fake.h>
@fake_of{rtc_driver_api::set_time}
| DECLARE_FAKE_VALUE_FUNC | ( | int | , |
| rtc_fake_update_set_callback | , | ||
| const struct device * | , | ||
| rtc_update_callback | , | ||
| void * | ) |
#include <rtc_fake.h>
@fake_of{rtc_driver_api::update_set_callback}
CONFIG_RTC_UPDATE.