NULL
This commit is contained in:
13
user/MCU/lhl_rtc.h
Executable file → Normal file
13
user/MCU/lhl_rtc.h
Executable file → Normal file
@@ -1,17 +1,10 @@
|
||||
#ifndef __LHL_RTC_H__
|
||||
#define __LHL_RTC_H__
|
||||
|
||||
void StartRTC_SEC(void);
|
||||
void StartRTC_AlarmAfterSeconds(uint32_t seconds);
|
||||
void RTC_SEC_Init(void);
|
||||
|
||||
void RTC_ALR_Init(void);
|
||||
|
||||
|
||||
|
||||
typedef void (*rtc_irq_callback_t)(void);
|
||||
|
||||
typedef enum {
|
||||
RTC_SEC,
|
||||
RTC_ALR,
|
||||
}RTC_IRQ_SOURCE_t;
|
||||
|
||||
void rtc_register_irq_callback(RTC_IRQ_SOURCE_t rtc_irq_source ,rtc_irq_callback_t rtc_irq_callback);
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user