123456789101112131415161718192021222324252627282930313233343536373839404142 |
-
- #ifndef MBED_RTC_API_H
- #define MBED_RTC_API_H
-
- #include "device.h"
-
- #if DEVICE_RTC
-
- #include <time.h>
-
- #ifdef __cplusplus
- extern "C" {
- #endif
-
- void rtc_init(void);
- void rtc_free(void);
- int rtc_isenabled(void);
-
- time_t rtc_read(void);
- void rtc_write(time_t t);
-
- #ifdef __cplusplus
- }
- #endif
-
- #endif
-
- #endif
|