Specifications
ps2_send
D+,D- both
high?
Wait 50 usec;
Call Send_0
(Start bit);
Parity = 1
Next
Data Bit
= 1?
Call
Send_0
Call
Send_1;
Parity += 1
Done 8
data
bits?
Parity =
Odd?
Call Send_0Call Send _1
Call Send_1
(stop bit)
Return
n
n
n
n
y
y
y
y
Send_1
D+ = HI-Z; D- = HI-Z1
Delay 5 usec
D+ = 0; D- = HI-Z
Delay 35 usec
D+ = HI-Z; D- = HI-Z
Delay 30 usec
Return
Send_0
D+ = HI-Z; D- = 0
Delay 5 usec
D+ = 0; D- = 0
Delay 35 usec
D+ = HI-Z; D- = 0
Delay 30 usec
Return
Set D+ = HI-Z;
D- = HI-Z
Figure 25. PS/2 Interface Layer: Send