Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
8254 IC
MUHAMMAD HASHIR SIDDIQUI (41594)
WED-THU 830-1000
8254 PROGRAMMABLE INTERVAL TIMER
24 pin IC
D0-D7 Data lines
A0-A1
RD,WR and CS(Chip select)
3 programmable 16 bits counters
Each counter have 3 pins
CLK
GATE
OUT
COUNTER PINS
A0-A1 are the 2 Address inputs to select one of the four internal registers of 8254.
A0 A1 Function
0 0 Counter 0
0 1 Counter 1
1 0 Counter 2
1 1 Control word
Control Word
M2 M1 M0 Mode
0 0 0 0
0 0 1 1
0 1 0 2
0 1 1 3
1 0 0 4
1 0 1 5
RW1 & RW0
RW1 and RW0 bits determine how data is read or write for the counter.