This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
8.1.2 8254-2
0#
1#
2#
0#
0#
1#
2#
1 * * * *
D5D4/01101116
D3D2D1000101
MOV AL01110100B T/C1
OUT 43HAL 2
8.1.3 8254-2
OUT 43H, AL
OUT 40HAL
(a)
,2,BCD
D5D4=10
D1=1—T/C0D2=1—T/C1D3=1—T/C2
OUT 43HAL
IN AL41H
MOV AHAL
IN AL41H
OUT 43HAL
IN AL40H
MOV AHAL
IN AL40H
OUT 43HAL
; 2,BCD
;/OUT
OUT
NOUTCLK1 CE2OUT0CLKOUTOUTT×(N+1)/2 OUT0T×(N-1)/2T×N