?? eeprom.inc
字號:
#ifndef EEPROM_INC
#define EEPROM_INC
#define EEPROM.RamAddress
;------------------------------------------------------------------------------+
; |
; Module EEPROM |
; |
;------------------------------------------------------------------------------+
; |
; This class provides commonly used methods for the built-in EEPROM |
; |
; |
;------------------------------------------------------------------------------+
extern EEPROM.ADDRESS
extern EEPROM.ByteCount
extern EEPROM.Write, EEPROM.WriteBytes, EEPROM.Read, EEPROM.ReadBytes
;------------------------------------------------------------------------------+
; |
; EEPROM.Init() |
; |
;------------------------------------------------------------------------------+
; |
; This macro initialises the EEPROM module |
; |
; |
; |
; Used SFRs: EECON1 EEDATA, EEADR, , |
; |
; |
; Stacklevel: 0 |
; |
; |
; Example: |
; EEPROM.Init ;initialises the EEPROM module |
; |
; |
; Description: |
; That's it |
; |
;------------------------------------------------------------------------------+
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 + -