0080 To enter stand-by mode. Write only.
* Write this address, will make CPU into stand-by mode.
* CPU will be hold with LCD state no change.
* When in stand-by mode, the NMI or IRQ will wake up the CPU. After doing
the interrupt routine, the program must access this address to enter stand-by
again.
0081 To enter power-down mode. Write only.
Bit 0 : = 0 Disable power-down mode wake up timer.(default)
= 1 Enable power-down mode wake up timer.
1 : = 1 Into power-down mode.
In power-down mode, the oscillator will be stopped & LCD will be off. After
wake up, bit 1 will be cleared to zero and programmer have to clear bit 0. If the
wake up timer is enable, an oscillator warm-up time (defined by $008B &
008C before entering power-down mode) will be added before CPU been
waked up and the IRQ1 flag will be set after wake up.
0082 Set frame frequency. Write only.
Bit 0 : = 0 System clock/8192 for 1/8 duty.(default)
System clock/4096 for 1/4 duty.
= 1 System clock/4096 for 1/8 duty.
System clock/2048 for 1/4 duty.
0083 IRQ flag register. Read & write.
* Read Bit 0 : if 1, there is timer interrupt, IRQ1.
Bit 1 : if 1, there is port 2 interrupt, IRQ2.
Write Bit 0 : if 0, clear IRQ1 flag.
Bit 1 : if 0, clear IRQ2 flag.
* When in IRQ routine, clear this register before resetting the IRQ disable flag
of the CPU. Or, it will go into IRQ loop infinitely.
* Disable port 2 interrupt function before clear IRQ1 flag.
0084 Port 1 data. Read & write.