8254A COUNTER 2 DATA - ADC PACER DIVIDER UPPER BADR3 + 2
READ/WRITE
7 | 6 | 5 | 4 | 2 | 3 | 1 | 0 |
|
|
|
|
|
|
|
|
D7 | D6 | D5 | D4 | D3 | D2 | D1 | D0 |
|
|
|
|
|
|
|
|
Counter 1 provides the lower 16 bits of the
Counter 2 output is called the 'Internal Pacer' and can be selected by software to the be the ADC Pacer source. Counters 1 & 2 should be configured to operate in 8254 Mode 2.
ADC 8254 CONTROL REGISTER
BADR3 + 3
WRITE ONLY
7 | 6 | 5 | 4 | 2 | 3 | 1 | 0 |
|
|
|
|
|
|
|
|
D7 | D6 | D5 | D4 | D3 | D2 | D1 | D0 |
|
|
|
|
|
|
|
|
The control register is used to set the operating Modes of 8254 Counters 0,1 & 2. A counter is configured by writing the correct Mode information to the Control Register followed by count written to the specific Counter Register.
The Counters on the 8254 are
7.5.2 DIGITAL I/O DATA AND CONTROL REGISTERS
he 24 DIO lines on the
information.
DIO PORT A DATA
BADR3 + 4
PORT A may be configured as an
READ/WRITE
7 | 6 | 5 | 4 | 2 | 3 | 1 | 0 |
|
|
|
|
|
|
|
|
D7 | D6 | D5 | D4 | D3 | D2 | D1 | D0 |
|
|
|
|
|
|
|
|
DIO PORT B DATA
BADR3 + 5
PORT B may be configured as an
PORT A.
READ/WRITE
7 | 6 | 5 | 4 | 2 | 3 | 1 | 0 |
|
|
|
|
|
|
|
|
D7 | D6 | D5 | D4 | D3 | D2 | D1 | D0 |
|
|
|
|
|
|
|
|
27