AN2690 Freescale Semiconductor / Motorola, AN2690 Datasheet - Page 23

no-image

AN2690

Manufacturer Part Number
AN2690
Description
Low Frequency EEPROM Emulation on the MC68HLC908QY4
Manufacturer
Freescale Semiconductor / Motorola
Datasheet
CPUSpd
LstAddr
; Equates for Flash address used for EEPROM
EeStart
;Bit defs for SRSR
LVI
MODRST
ILAD
ILOP
COP
PIN
POR
;Bit masks for SRSR register
mLVI
mMODRST
mILAD
mILOP
mCOP
mPIN
mPOR
;Bit defs for PortA
PTA0
PTA1
PTA2
PTA3
PTA4
PTA5
PTA6
PTA7
;Bit defs for DDRA
DDRA0
DDRA1
DDRA2
DDRA3
DDRA4
DDRA5
DDRA6
DDRA7
;Bit defs for PortB
PTB0
PTB1
PTB2
PTB3
PTB4
PTB5
PTB6
PTB7
;Bit defs for DDRB
MOTOROLA
EQU $89
EQU $8A
EQU $EE00
EQU 1
EQU 2
EQU 3
EQU 4
EQU 5
EQU 6
EQU 7
EQU %00000010
EQU %00000100
EQU %00001000
EQU %00010000
EQU %00100000
EQU %01000000
EQU %10000000
EQU 0
EQU 1
EQU 2
EQU 3
EQU 4
EQU 5
EQU 6
EQU 7
EQU 0
EQU 1
EQU 2
EQU 3
EQU 4
EQU 5
EQU 6
EQU 7
EQU 0
EQU 1
EQU 2
EQU 3
EQU 4
EQU 5
EQU 6
EQU 7
Low Frequency EEPROM Emulation on the MC68HLC908QY4
Freescale Semiconductor, Inc.
For More Information On This Product,
Go to: www.freescale.com
;CPU speed in units of 0.25MHz
;last FLASH address to be programmed
;Start of EEPROM page in FLASH
Appendix A: Sample Application
AN2690
23

Related parts for AN2690