Technical Description
Bit Set or Reset Port C
n = port number
CWnD0 |
|
|
|
|
|
| 1 = set to +5V |
|
| 0 = Reset to GND | |||||||||||
CWnD4 |
|
|
|
|
|
|
|
|
|
|
| 0 or 1 (no effect) |
|
|
| ||||||
CWnD5 |
|
|
|
|
|
|
|
|
|
|
| 0 or 1 (no effect) |
|
|
| ||||||
CWnD6 |
|
|
|
|
|
|
|
|
|
|
| 0 or 1 (no effect) |
|
|
| ||||||
CWnD7 |
|
|
|
|
|
| Always a zero when using Bit set/reset | ||||||||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
|
|
|
|
|
|
|
|
|
| Bit Select |
|
|
|
|
|
|
| ||||
|
|
| CWnD3 |
|
| CWnD2 |
|
| CWnD1 |
|
| C1 Bit |
|
|
| ||||||
|
|
| 0 |
|
|
| 0 |
|
|
|
| 0 |
|
| = 0 |
|
|
|
| ||
|
|
| 0 |
|
|
| 0 |
|
|
|
| 1 |
|
| = 1 |
|
|
|
| ||
|
|
| 0 |
|
|
| 1 |
|
|
|
| 0 |
|
| = 2 |
|
|
|
| ||
|
|
| 0 |
|
|
| 1 |
|
|
|
| 1 |
|
| = 3 |
|
|
|
| ||
|
|
| 1 |
|
|
| 0 |
|
|
|
| 0 |
|
| = 4 |
|
|
|
| ||
|
|
| 1 |
|
|
| 0 |
|
|
|
| 1 |
|
| = 5 |
|
|
|
| ||
|
|
| 1 |
|
|
| 1 |
|
|
|
| 0 |
|
| = 6 |
|
|
|
| ||
|
|
| 1 |
|
|
| 1 |
|
|
|
| 1 |
|
| = 7 |
|
|
|
| ||
|
|
|
|
|
|
|
|
|
|
|
|
|
| ||||||||
|
|
|
| Control Word (X = 0) |
| Hex Value |
| Port C |
| ||||||||||||
| 7 |
| 6 | 5 | 4 |
|
| 3 | 2 |
| 1 | 0 |
|
|
|
| Bit |
| |||
|
|
|
|
|
|
|
|
|
|
| Reset |
|
|
|
|
|
|
|
| ||
| 0 |
| X | X | X |
| 0 | 0 |
| 0 | 0 | 00 |
| 0 |
| ||||||
| 0 |
| X | X | X |
| 0 | 0 |
| 1 | 0 | 02 |
| 1 |
| ||||||
| 0 |
| X | X | X |
| 0 | 1 |
| 0 | 0 | 04 |
| 2 |
| ||||||
| 0 |
| X | X | X |
| 0 | 1 |
| 1 | 0 | 06 |
| 3 |
| ||||||
| 0 |
| X | X | X |
| 1 | 0 |
| 0 | 0 | 08 |
| 4 |
| ||||||
| 0 |
| X | X | X |
| 1 | 0 |
| 1 | 0 |
|
| 0A |
| 5 |
| ||||
| 0 |
| X | X | X |
| 1 | 1 |
| 0 | 0 |
|
| 0C |
| 6 |
| ||||
| 0 |
| X | X | X |
| 1 | 1 |
| 1 | 0 |
|
| 0E |
| 7 |
| ||||
|
|
|
|
|
|
|
|
|
|
| Set |
|
|
|
|
|
|
|
| ||
| 0 |
| X | X | X |
| 0 | 0 |
| 0 | 1 | 01 |
| 0 |
| ||||||
| 0 |
| X | X | X |
| 0 | 0 |
| 1 | 1 | 03 |
| 1 |
| ||||||
| 0 |
| X | X | X |
| 0 | 1 |
| 0 | 1 | 05 |
| 2 |
| ||||||
| 0 |
| X | X | X |
| 0 | 1 |
| 1 | 1 | 07 |
| 3 |
| ||||||
| 0 |
| X | X | X |
| 1 | 0 |
| 0 | 1 | 09 |
| 4 |
| ||||||
| 0 |
| X | X | X |
| 1 | 0 |
| 1 | 1 |
|
| 0B |
| 5 |
| ||||
| 0 |
| X | X | X |
| 1 | 1 |
| 0 | 1 |
|
| 0D |
| 6 |
|
| Page 19 |