LCD Controller 8 /30 Issue date:10 May, 2000
Syntek Semiconductor Co., Ltd.
STK55C2081
* The default value for each bit is zero.
Alarm envelope waveform: (unit = second)
1203 IRQ flag register; read & write.
* Read : Bit 0 : if 1, timer interrupt, IRQ1.
Bit 1 : if 1, port 2 interrupt, IRQ2.
Bit 2 : if 1, 0.5 sec. timer interrupt, IRQ3.
Bit 3 : if 1, transmit data complete interrupt, IRQ4.
Bit 4 : if 1, receiver data ready interrupt, IRQ5.
* Write : Bit 0 : if 0, clear the flag of IRQ1.
Bit 1 : if 0, clear the flag of IRQ2.
Bit 2 : if 0, clear the flag of IRQ3.
Bit 3 : if 0, clear the flag of IRQ4.
Bit 4 : if 0, clear the flag of IRQ5.
* When the system is in IRQ mode, the IRQ flag register must be cleared
before having another interrupt request; otherwise, the system will always be in
IRQ mode.
1204 Low byte data for port 1; write only.
The output data pins are shared with A0-A7.
1205 High byte data for port 1; write only.
Bit 5-0 : Output data. The output data pins are shared with A8-A13.
1206 Write: load prescaler value and timer value from buffer to counter
Read : read current counter value
* After $1206 been written, timer will begin to count down. And IRQ1
happens when timer counts to zero.
elapsed time = $120B*($120C+1)/(system clock/2).
1207 Port 2 data; read only
Bit 3-0 : Input data . One wait state will be added while reading this port.