ZCOM C I/F Library Routines
ZCONFIG (3X)
Unused spare field. For data alignment.
data.setport.cnfg
Configuration data (32 bits). This field is used for actions 1 to 4 only. The content is dependent on the specific hardware being configured. It contains the following information:
For the Z7200A, Z7400A, Z7340A, Z7350A cards:
15 |
| 14 | 13 | 12 | 11 |
| 10 |
| 9 | 8 |
| 7 |
| 6 | 5 |
| 4 | 3 | 2 | 1 | 0 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Ecode |
| Sync |
| Mode |
|
| Parity |
| X. Clk |
| S. Clk |
| Baud 1 |
|
| ||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| ||||
Pmode |
| Pmode2 |
|
| Baud 2 |
|
|
|
|
| 0 = Not Used |
|
|
| |||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
|
|
| Ecode | Value |
| Encoding modes |
|
|
|
|
|
|
|
| |||||||
|
|
|
|
| 0 0 |
|
| NRZ |
|
|
|
|
|
|
|
|
|
|
|
| |
|
|
|
|
| 0 1 |
|
| NRZI |
|
|
|
|
|
|
|
|
|
|
|
| |
|
|
|
|
| 1 0 |
|
| FM1 (transition = 1) |
|
|
|
|
|
|
| ||||||
|
|
|
|
| 1 1 |
|
| FM0 (transition = 0) |
|
|
|
|
|
|
| ||||||
|
|
| Sync | Value |
| Sync mode select |
|
|
|
|
|
|
|
| |||||||
|
|
|
|
| 0 0 |
|
|
|
|
|
|
|
|
| |||||||
|
|
|
|
| 0 1 |
|
|
|
|
|
|
|
|
| |||||||
|
|
|
|
| 1 0 |
|
| SDLC Mode |
|
|
|
|
|
|
|
|
|
| |||
|
|
|
|
| 1 1 |
|
| External sync |
|
|
|
|
|
|
|
| |||||
|
|
| Mode | Value |
| Operating mode |
|
|
|
|
|
|
|
| |||||||
|
|
|
|
| 0 0 |
|
| Sync mode |
|
|
|
|
|
|
|
|
|
| |||
|
|
|
|
| 0 1 |
|
| Async 1 stop |
|
|
|
|
|
|
|
| |||||
|
|
|
|
| 1 0 |
|
| Async 1.5 stop bits |
|
|
|
|
|
|
|
| |||||
|
|
|
|
| 1 1 |
|
| Async 2 stop bits |
|
|
|
|
|
|
|
|
Chapter 4 | 203 |