ZCOM C I/F Library Routines
ZPORT (3X)
PARAMETERS | iftno | ACC MUX interface number. |
| portno | Port number in the ACC interface card: |
0..For Z7200A, Z7340A and Z7400A ACC
7 | interface cards |
0..For the Z7300A ACC interface card
0..For the Z7350A ACC interface card
rcode | Request code: | |
| 1 | - Use configuration in interface table |
| 2 | - Use data in cnfg |
action | Configuration type: |
ZCOM_ZMUXPORT_ALL | (0) | - Set all modes (all fields) | |
ZCOM_ZMUXPORT_CONF | (1) | - Set Configuration mode only | |
| (Ecode, | Mode, Parity) | |
ZCOM_ZMUXPORT_BAUD | (2) | - Set Baud Rate mode only (X.Clk, | |
|
| S.Clk, Baud Rate) | |
ZCOM_ZMUXPORT_PORT | (3) | - Set Port mode only (Pmode, | |
| Pmode2) |
| |
ZCOM_ZMUXPORT_BRK | (4) | - Port Break request |
stat
(Return Param) Status returned from the call:
PT_OK | (0) | - No error |
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 |
278 | Chapter 4 |