Zephyr API Documentation 4.0.99
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
rtc_fake.h File Reference
#include <zephyr/drivers/rtc.h>
#include <zephyr/fff.h>

Go to the source code of this file.

Functions

 DECLARE_FAKE_VALUE_FUNC (int, rtc_fake_set_time, const struct device *, const struct rtc_time *)
 
 DECLARE_FAKE_VALUE_FUNC (int, rtc_fake_get_time, const struct device *, struct rtc_time *)
 

Function Documentation

◆ DECLARE_FAKE_VALUE_FUNC() [1/2]

DECLARE_FAKE_VALUE_FUNC ( int ,
rtc_fake_get_time ,
const struct device * ,
struct rtc_time *  )

◆ DECLARE_FAKE_VALUE_FUNC() [2/2]

DECLARE_FAKE_VALUE_FUNC ( int ,
rtc_fake_set_time ,
const struct device * ,
const struct rtc_time *  )