22 lines
154 B
C
22 lines
154 B
C
|
|
||
|
|
||
|
|
||
|
#ifndef RTC_H__
|
||
|
#define RTC_H__
|
||
|
|
||
|
|
||
|
|
||
|
typedef struct
|
||
|
{
|
||
|
void (*delay_ms)(u32);
|
||
|
} RTC_InitStruct;
|
||
|
|
||
|
|
||
|
|
||
|
int RTC_InitNormal (RTC_InitStruct *init);
|
||
|
|
||
|
|
||
|
|
||
|
#endif
|
||
|
|