#ifndef RTC_H_
#define RTC_H_

#define		RTC_Enable						0x55
#define		RTC_Disable						0x00


//RTC输出使能									-------RTCTTR
#define		RTC_OUT_enable					0x80
#define		RTC_OUT_disable					0x00
//RTC输出通道选择
#define		RTC_OUT_SEL_TTR					0x00
#define		RTC_OUT_SEL_ALR					0x40
//RTC时钟节拍设置
#define		RTCTTR_SEL_1_S					0x00
#define		RTCTTR_SEL_1div2_S				0x01
#define		RTCTTR_SEL_1div4_S				0x02
#define		RTCTTR_SEL_1div8_S				0x03
#define		RTCTTR_SEL_1div16_S				0x04
#define		RTCTTR_SEL_1div32_S				0x05
#define		RTCTTR_SEL_1div64_S				0x06
#define		RTCTTR_SEL_1div128_S			0x07

void RTC_Reset(void);
void RTC_Configuration(void);
#endif /* RTC_H_ */
