rt-thread/bsp/stm32f429-apollo/drivers/drv_rtc.h

29 lines
1.3 KiB
C

/***************************************************************************//**
* @file drv_rtc.h
* @brief RTC driver of RT-Thread RTOS for EFM32
* COPYRIGHT (C) 2012, RT-Thread Development Team
* @author Bernard, onelife
* @version 1.0
*******************************************************************************
* @section License
* The license and distribution terms for this file may be found in the file
* LICENSE in this distribution or at http://www.rt-thread.org/license/LICENSE
*******************************************************************************
* @section Change Logs
* Date Author Notes
* 2009-01-05 Bernard the first version
* 2010-12-27 onelife Modification for EFM32
*********************************************************************/
#ifndef __DRV_RTC_H__
#define __DRV_RTC_H__
#include <time.h>
#include <string.h>
/* Includes ------------------------------------------------------------------*/
/* Exported types ------------------------------------------------------------*/
/* Exported constants --------------------------------------------------------*/
/* Exported macro ------------------------------------------------------------*/
/* Exported functions ------------------------------------------------------- */
int rt_hw_rtc_init(void);
#endif /* __DRV_RTC_H__ */