started working on AtMega8515 module C1.
This commit is contained in:
@@ -21,7 +21,11 @@
|
||||
; REGS: R16
|
||||
|
||||
flashReadEepromIncr:
|
||||
.ifdef EEPE
|
||||
sbic EECR, EEPE ; wait for previous write to complete (if any)
|
||||
.else
|
||||
sbic EECR, EEWE ; wait for previous write to complete (if any)
|
||||
.endif
|
||||
rjmp flashReadEepromIncr
|
||||
out EEARH, xh ; set EEPROM address
|
||||
out EEARL, xl
|
||||
|
||||
Reference in New Issue
Block a user