AN2690 Freescale Semiconductor / Motorola, AN2690 Datasheet - Page 14

no-image

AN2690

Manufacturer Part Number
AN2690
Description
Low Frequency EEPROM Emulation on the MC68HLC908QY4
Manufacturer
Freescale Semiconductor / Motorola
Datasheet
AN2690
14
ApplicationFlags
(Switch on LED)
Set PTB3
Clear
PROG_EEPROM_FLAG =1
Low Frequency EEPROM Emulation on the MC68HLC908QY4
Freescale Semiconductor, Inc.
PROG_EEPROM_FLAG
N
For More Information On This Product,
N
EEPROM?
ProgEE()
Program
ILOP?
Clear
Figure 6. Main Flow (Part 1)
Read , clear and copy SRSR
Config2timeouts, PortsA&B
Go to: www.freescale.com
Y
Y
N
Initializes Config1,
CommonInit()
SP, H, A, X
Initialize
POR?
Start
1st POR
Y
Byte1=0 - ApplicationFlags
Set PTB3 (Switch on LED)
Get 1st Byte of EEPROM
Clear ApplicationFlags
Byte0 = 8 - Led Status
Enable Interrupts
Byte=1 - Count
SwitchToXtal()
Init EEPROM
Byte = FF?
Init Timer()
page
Y
N
SW_ENABLE_FLAG
DIRECTION _FLAG
Read EEPROM()
PORTB data
Restore
MOTOROLA

Related parts for AN2690