I/O Address | Read |
|
| Write |
|
|
|
|
|
| |||
Base + 0 | Counter 0 |
| Counter 0 |
| ||
Base + 4 | Counter 1 |
| Counter 1 |
| ||
Base + 8 | Counter 2 |
| Counter 2 |
| ||
Base + C |
| 8254 | Counter | |||
|
|
|
| Control |
|
|
|
|
|
|
|
| |
Base + 10 | A/D Data Reg. |
| CH1 | D/A | Data | |
|
|
|
| Reg. |
|
|
|
|
|
|
|
| |
Base + 14 |
| CH2 | D/A | Data | ||
|
|
|
| Reg. |
|
|
Base + 18 | A/D | Status |
| A/D Control Reg. | ||
| Reg. |
|
|
|
|
|
|
|
|
| |||
Base + 1C | Digital IN Reg. |
| Digital OUT Reg. | |||
Base + 20 |
| Software Trigger | ||||
| Table 3.1 I/O Address |
|
|
|
3.2A/D Data Registers
The |
| ||||||||||||
channels, the digital data will store in the A/D data registers. The 12 bits |
| ||||||||||||
A/D data is put into 32 bits registers. |
|
|
|
|
|
|
|
| |||||
Address | : BASE + 10 |
|
|
|
|
|
|
|
| ||||
Attribute | : read only |
|
|
|
|
|
|
|
| ||||
Data Format: |
|
|
|
|
|
|
|
|
|
|
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| Bit |
| 7 | 6 |
| 5 |
| 3 | 2 |
|
|
| 0 |
|
|
|
|
|
|
|
|
|
|
| |||
| BA | A | A |
| A |
| C | C |
|
|
| C | |
| SE+ | D | D |
| D |
| H | H |
|
|
| H | |
| 10 | 3 | 2 |
| 1 |
| 3 | 2 |
|
|
| 0 | |
| BA | A | A |
| A |
| A | A |
|
|
| A | |
| SE+ | D | D |
| D |
| D | D |
|
|
| D | |
| 11 | 1 | 1 |
| 9 |
| 7 | 6 |
|
|
| 4 | |
|
| 1 | 0 |
|
|
|
|
|
|
|
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
| BA | - | - |
| - | - | - | - |
| - |
| - | |
| SE+ | - | - |
| - | - | - | - |
| - |
| - | |
| 12 | - | - |
| - | - | - | - |
| - |
| - | |
|
|
|
|
|
|
|
|
|
|
|
|
| |
| BA | - | - |
| - | - | - | - |
| - |
| - | |
| SE+ | - | - |
| - | - | - | - |
| - |
| - | |
| 13 | - | - |
| - | - | - | - |
| - |
| - | |
| AD11 .. AD0 | : |
| Analog | to | digital | data. | AD11 | is the Most |
| |||
Significant Bit (MSB). AD0 is the Least Significant Bit (LSB). |
|
|
| ||||||||||
CH3 ~ CH0 : A/D channel number from which the data is derived. |
|
|
| ||||||||||
Don‘t care |
|
|
|
|
|
|
|
|