|
| ZCOM C I/F Library Routines |
|
| ZPORT (3X) |
PT_ILL_PMODE | (6) | - Illegal port mode |
PT_NO_BREAK | (7) | - Port failed self test |
PT_NO_BREAK | (8) | - BREAK routine not installed |
PT_BAD_XCLK | (9) | - Clock multiplier not compatible with mode |
PT_NO_PLL | (10) - No DPLL available at this baud rate | |
PT_TOO_FAST | (11) - Async mode not available for baud > 38400 |
The status message text may be fetched using zcomstatus(3X) (req = ZCOM_MRQCODE_PORT, or 11).
|
|
|
| cnfg |
|
| Configuration data (32 bits) |
|
|
|
|
| |||||||||||
|
|
|
|
| The cnfg parameter contains the following information for the Z7200A, |
| |||||||||||||||||
|
|
|
|
| Z7400A, Z7340A and Z7350A ACC interface 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) |
|
|
|
|
| |||||
|
|
|
|
| Ecode |
|
| Value |
| Sync mode select |
|
|
|
|
| ||||||||
|
|
|
|
|
|
|
|
| 0 0 |
|
|
|
|
|
|
| |||||||
|
|
|
|
|
|
|
|
| 0 1 |
|
|
|
|
|
|
|
| ||||||
|
|
|
|
|
|
|
|
| 1 0 |
|
|
| SDLC Mode |
|
|
|
|
|
|
| |||
|
|
|
|
|
|
|
|
| 1 1 |
|
|
| External sync |
|
|
|
|
|
Chapter 4 | 279 |