drv_rtc.h 1.3 KB

12345678910111213141516171819202122232425262728
  1. /***************************************************************************//**
  2. * @file drv_rtc.h
  3. * @brief RTC driver of RT-Thread RTOS for EFM32
  4. * COPYRIGHT (C) 2012, RT-Thread Development Team
  5. * @author Bernard, onelife
  6. * @version 1.0
  7. *******************************************************************************
  8. * @section License
  9. * The license and distribution terms for this file may be found in the file
  10. * LICENSE in this distribution or at http://www.rt-thread.org/license/LICENSE
  11. *******************************************************************************
  12. * @section Change Logs
  13. * Date Author Notes
  14. * 2009-01-05 Bernard the first version
  15. * 2010-12-27 onelife Modification for EFM32
  16. *********************************************************************/
  17. #ifndef __DRV_RTC_H__
  18. #define __DRV_RTC_H__
  19. #include <time.h>
  20. #include <string.h>
  21. /* Includes ------------------------------------------------------------------*/
  22. /* Exported types ------------------------------------------------------------*/
  23. /* Exported constants --------------------------------------------------------*/
  24. /* Exported macro ------------------------------------------------------------*/
  25. /* Exported functions ------------------------------------------------------- */
  26. int rt_hw_rtc_init(void);
  27. #endif /* __DRV_RTC_H__ */