drv_rtc.h 433 B

1234567891011121314151617181920212223242526
  1. /*
  2. * Copyright (c) 2006-2021, RT-Thread Development Team
  3. *
  4. * SPDX-License-Identifier: Apache-2.0
  5. *
  6. * Change Logs:
  7. * Date Author Notes
  8. * 2019-07-29 zdzn first version
  9. */
  10. #ifndef __DRV_RTC_H__
  11. #define __DRV_RTC_H__
  12. #include <rtthread.h>
  13. #include <rtdevice.h>
  14. #include <sys/time.h>
  15. #include "bcm283x.h"
  16. struct rt_rtc_device
  17. {
  18. struct rt_device device;
  19. };
  20. int rt_hw_rtc_init(void);
  21. #endif