| 1234567891011121314 |
- #ifndef LUAT_RTC_H
- #define LUAT_RTC_H
- #include "luat_base.h"
- #include "time.h"
- int luat_rtc_set(struct tm *tblock);
- int luat_rtc_get(struct tm *tblock);
- int luat_rtc_timer_start(int id, struct tm *tblock);
- int luat_rtc_timer_stop(int id);
- void luat_rtc_set_tamp32(uint32_t tamp);
- int luat_rtc_timezone(int* timezone);
- #endif
|