eeprom.h

来自「51单片机编译开发软件开发软件」· C头文件 代码 · 共 20 行

H
20
字号
/*
 *  This file contains the data defintions that are stored in EEPROM
 */

#ifndef DECLARE                    // if DECLARE is not defined
  #define DECLARE  extern          // variables are extern
#endif

struct sample  {
  char carray[20];
  int  iarray[20];
  long larray[20];
};

DECLARE struct sample far esample1;  // reserve space for esample1 struct
DECLARE struct sample far esample2;  // reserve space for esample2 struct
DECLARE char *        far etxt_ptr;  // pointer in EEPROM space


⌨️ 快捷键说明

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