rtc_run.h 410 B

12345678910111213141516171819202122232425
  1. #ifndef __RTC_RUN__
  2. #define __RTC_RUN__
  3. #include "board.h"
  4. #ifdef __cplusplus
  5. extern "C" {
  6. #endif
  7. #define RTC_INIT_YEAR (25)
  8. #define RTC_INIT_MONTH (10)
  9. #define RTC_INIT_DAY (14)
  10. #define RTC_INIT_HOUR (14)
  11. #define RTC_INIT_MIN (17)
  12. #define RTC_INIT_SEC (0)
  13. #define RTC_INIT_WEEK (2)
  14. void get_rtc_run(rtc_run_t **rtc_run);
  15. void set_rtc_run(rtc_run_t *rtc_run);
  16. #ifdef __cplusplus
  17. }
  18. #endif
  19. #endif