Specifications

ps2-receive
Received
Bit = 1?
Parity +=1
Done 8
data
bits?
n
get_bit
D+ = 0; D- = HI-Z
Delay 35 usec
D+ = HI-Z; D- = HI-Z
1
Delay 5 usec
Get State of D-
Delay 25 usec
Return State of
D- (data bit)
Figure 24. PS2/Interface Layer: Receive
Wait 5 usec
Call get_bit
Parity bit
OK?
Call get_bit
(parity)
Stop bit
= 1?
Call get_bit (stop
bit)
Set Error Flag
Set Error Flag
Call Send_0
(ack bit)
Return 8 Data
bits and Error
Flag