HP UX 11i v1 I/O Cards Status returned from the call, No error, Port number out of range

Models: UX 11i v1 I/O Cards

1 298
Download 298 pages 31.75 Kb
Page 256
Image 256

ZCOM C I/F Library Routines zport (3X)

 

 

 

 

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

 

 

 

 

 

 

 

 

 

 

 

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

 

 

 

8-Bit sync (monosync)

 

 

 

 

 

 

 

 

 

 

 

 

 

 

0 1

 

 

 

16-Bit sync (bisync)

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

1 0

 

 

 

SDLC Mode

 

 

 

 

 

 

 

 

 

256

Chapter 4

Page 256
Image 256
HP UX 11i v1 I/O Cards Status returned from the call, No error, Port number out of range, Bad parameter, Bad baud rate