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

📄 lcd.h

📁 Analog 公司 ADE7169 SOC 电表方案DEMO程序
💻 H
字号:
/*
-2006/02/15: Petre M.
  -this file contains extern declarartions of functions and variables used
  in LCD_lib.c

*/

//this is the buffer that mirrors the LCD used on the board
__idata char LCD_buffer[15];


#pragma location = "Data_in_Flash"
__code const char Digit_Table[10] = {
    0x7d, //0
    0x60, //1
    0x3e, //2
    0x7a, //3
    0x63, //4
    0x5b, //5
    0x5f, //6
    0x70, //7
    0x7f, //8
    0x7b, //9
};

#pragma constseg = "Data_in_Flash"
__code const int Table_LCD[5]={(int)Active_Energy_Display, (int)IRMS_Display, (int) VRMS_Display,
                                (int)Manage_Time, (int) Date_Display};

  void Manage_Numbers(char Nr_Fract_Digits);
  void Setup_LCD(void);
  void Display_to_LCD(void);
  void Manage_Time(void);
  void Manage_Display(void);
  void Manage_LCD_commands(void);
  void Blink_LCD(char BLKFREQ);
  void Display_Time_Date(char __idata *iram_ptr1);
  void Active_Energy_Display(void);
  void IRMS_Display(void);
  void VRMS_Display(void);
  void Date_Display(void);
  void Irms_threshold_read(void);
  void Vrms_threshold_read(void);
  void Display_Number(char Nr_Fract_Digits, unsigned int unit_ratio);

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -