29 lines
521 B
C
29 lines
521 B
C
|
#ifndef __HAL_RTC_H__
|
||
|
#define __HAL_RTC_H__
|
||
|
#include "hal.h"
|
||
|
|
||
|
#ifdef __cplusplus
|
||
|
extern "C"
|
||
|
{
|
||
|
#endif /* __cplusplus */
|
||
|
|
||
|
|
||
|
////////////////////////////////////////////////////////////
|
||
|
//
|
||
|
// 数据类型定义
|
||
|
//
|
||
|
////////////////////////////////////////////////////////////
|
||
|
|
||
|
/*rtc init interface define,should be implement if needed*/
|
||
|
int32_t hal_rtc_init();
|
||
|
|
||
|
/*rtc deinit interface define,should be implement if needed*/
|
||
|
int32_t hal_rtc_deinit();
|
||
|
|
||
|
|
||
|
#ifdef __cplusplus
|
||
|
}
|
||
|
#endif /* __cplusplus */
|
||
|
|
||
|
#endif /* __HAL_RTC_H__ */
|