ACC Programmer's Reference Guide
256 Chapter4
ZCOM C I/F Library Routines
zport (3X)
stat
(Return Param) Status returned from the call:
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:
PT_OK (0)-Noerror
PT_INV_PORT (1) - Port number out of range
PT_BAD_PARM (2) - Bad parameter
PT_NOT_DSBL (3) - Some terminals in this port not disabled
PT_BAD_BAUD (4) - Bad baud rate
PT_ILL_SCLK (5) - Illegal clock source
PT_ILL_PMODE (6) - Illegal port mode
PT_NO_BREAK (7) - Port failed self tes t
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
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
00 NRZ
01 NRZI
1 0 FM1 (transition = 1)
1 1 FM0 (transition = 0)
Ecode Value Sync mode select
0 0 8-Bit sync (monosync)
0 1 16-Bit sync (bisync)
1 0 SDLC Mode










