⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 rtc.h

📁 Analog 公司 ADE7169 SOC 电表方案DEMO程序
💻 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 + -