NO:
W90P710 Programming Guide
VERSION:
2.0
PAGE:
234
The above information is the exclusive intellectual property of Winbond Electronics and shall not be disclosed, distributed or reproduced without permission
from Winbond.
Table No.: 2005-W90P710-11-A
START
END
Read register
PS2STS
Is RX_IRQ == 1 ?
A scan code arrived !
1. Set a software envent
2. Read registers
PS2SCANCODE & PS2ASCII
Is TX_IRQ == 1 ?
A command has been sent
Set a software event
Clear interrupt status
Write 1 to clear TX-IRQ & RX_IRQ
YES
YES
NO
NO
2. Read interrupt status from register
PS2STS
3. If
RX_IRQ
is set go to step 3, otherwise go to step 4