forked from SZV10X_Software/SZV103_FM33A0xxEV_SiZhu

jinlicong
2024-05-15 d14dd3a2106de793fbe08dc5a12cf80defd3258a
Function/EXTERN_RTC/extern_rtc.h
@@ -2,7 +2,13 @@
#define _EXTERN_RTC_H_
#include "define_all.h" 
#include "rtc.h"
//ÍⲿRTCÖжÏIO
#define  EXT_RTC_INT_PORT     GPIOD
#define  EXT_RTC_INT_PIN      GPIO_Pin_6   //  P3.2   IIC SCA ÐźÅ
//   <<< Use Configuration Wizard in Context Menu >>>
@@ -109,14 +115,15 @@
#pragma pack()
void RTC_GPIO_Init(void);
void Set_Extern_Rtc_Time(uint16_t year,uint8_t month,uint8_t day,uint8_t week,uint8_t hour,uint8_t min,uint8_t sec);
ErrorStatus Get_Extern_Rtc_Time(__IO sClockBCD * calendar_p);
void Set_Rtc_UpdataInterrupt(void);
//extern __IO CALENDAR_TIME_T calendar_g;
//extern __IO CALENDAR_TIME_T calendar_test_g;
extern __IO sClockBCD sys_clockBCD_g;
ErrorStatus TimeEffectJudgm(const sClockBCD TimeBCD);