📄 rtc.h
字号:
/*
-02/24/2006: Petre M.
-this file contains declarations of functions and variables used in rtc.c
*/
//the weekday, day, month and year are represented with their digits
//Year has only 3 digits because the thousand digit cannot be represented on the display
//Because this is a static variable, it is declared only as external
//__no_init __idata struct Date_struct Date @0x21;
__idata unsigned char Fault_Days;
#pragma location = "Data_in_Flash"
__code const char Months[12]={31,28,31,30,31,30, 31,31,30,31,30,31};
void Setup_RTC(void);
void Midnight_Management(void);
void Midnight_Management_PSM1(void);
void Store_time(char __idata *ptr);
void Setup_RTC_PSM1(void);
void Calendar_write(void);
void Calendar_read(void);
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -