📄 eeprom.inc
字号:
#ifndef EEPROM_INC
#define EEPROM_INC
#define EEPROM.RamAddress
;/*
; The address in the EEPROM for the next operation on it.
;*/
extern EEPROM.ADDRESS
extern EEPROM.ByteCount
extern EEPROM.Write, EEPROM.WriteBytes, EEPROM.Read, EEPROM.ReadBytes
;/*
;
; This macro initialises the EEPROM module
;
; @example
; EEPROM.Init ;initialises the EEPROM module
; @end-ex
; @ex-desc That's it
;
; @status Tested
;
; @stacklevel 0
;
; @registers EEDATA, EEADR, EECON1, EECON1
;
;
;*/
EEPROM.Init macro
banksel EEADR
CLRF EEDAT
CLRF EEADR
CLRF EECON1
CLRF EECON2
endm
#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -