Technical Description
Control Words
n = control word for port1 or 2
I/O Configuration
CWnD0 |
| Port C1 lower nibble (bits |
| 1 = input |
| 0 = output |
| 1 on power up |
| |||||||||||
CWnD1 |
| Port B1 |
|
|
|
|
|
| 1 = input |
| 0 = output |
| 1 on power up |
| ||||||
CWnD2 |
|
|
|
|
|
|
|
| 0 or 1 (no effect) |
|
|
|
|
|
| |||||
CWnD3 |
| Port C1 upper nibble (bits |
| 1 = input |
| 0 = output |
| 1 on power up |
| |||||||||||
CWnD4 |
| Port A1 |
|
|
|
|
|
| 1 = input |
| 0 = output |
| 1 on power up |
| ||||||
CWnD5 |
|
|
|
|
|
|
|
| 0 or 1 (no effect) |
|
|
|
|
|
| |||||
CWnD6 |
|
|
|
|
|
|
|
| 0 or 1 (no effect) |
|
|
|
|
|
| |||||
CWnD7 |
|
|
|
|
|
|
|
|
| Always a 1 |
|
|
|
|
|
|
|
| ||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| ||||
|
| Control Word (X = 0) |
|
|
| Hex Value |
|
|
|
| Port Setup |
|
| |||||||
7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
|
|
|
| A | B |
| C Upper | C Lower |
| |||
1 | X |
| X | 0 | 0 | X | 0 | 0 |
| 80 |
| Out | Out |
| Out | Out |
| |||
1 | X |
| X | 0 | 0 | X | 0 | 1 |
| 81 |
| Out | Out |
| Out | In |
| |||
1 | X |
| X | 0 | 0 | X | 1 | 0 |
| 82 |
| Out | In |
| Out | Out |
| |||
1 | X |
| X | 0 | 0 | X | 1 | 1 |
| 83 |
| Out | In |
| Out | In |
| |||
1 | X |
| X | 0 | 1 | X | 0 | 0 |
| 88 |
| Out | Out |
|
| In | Out |
| ||
1 | X |
| X | 0 | 1 | X | 0 | 1 |
| 89 |
| Out | Out |
|
| In | In |
| ||
1 | X |
| X | 0 | 1 | X | 1 | 0 |
|
| 8A |
| Out | In |
|
| In | Out |
| |
1 | X |
| X | 0 | 1 | X | 1 | 1 |
|
| 8B |
| Out | In |
|
| In | In |
| |
1 | X |
| X | 1 | 0 | X | 0 | 0 |
| 90 |
| In | Out |
| Out | Out |
| |||
1 | X |
| X | 1 | 0 | X | 0 | 1 |
| 91 |
| In | Out |
| Out | In |
| |||
1 | X |
| X | 1 | 0 | X | 1 | 0 |
| 92 |
| In | In |
| Out | Out |
| |||
1 | X |
| X | 1 | 0 | X | 1 | 1 |
| 93 |
| In | In |
| Out | In |
| |||
1 | X |
| X | 1 | 1 | X | 0 | 0 |
| 98 |
| In | Out |
|
| In | Out |
| ||
1 | X |
| X | 1 | 1 | X | 0 | 1 |
| 99 |
| In | Out |
|
| In | In |
| ||
1 | X |
| X | 1 | 1 | X | 1 | 0 |
|
| 9A |
| In | In |
|
| In | Out |
| |
1 | X |
| X | 1 | 1 | X | 1 | 1 |
|
| 9B |
| In | In |
|
| In | In |
|
Figure 11-Control Words
| Page 18 |