HP UX 11i v1 I/O Cards manual Data.setport.portno, Data.setport.rcode, Data.setport.spare

Models: UX 11i v1 I/O Cards

1 298
Download 298 pages 31.75 Kb
Page 190
Image 190

ZCOM C I/F Library Routines

ZCONFIG (3X)

Configuration Data

header.config

ZCOM_ZCONFIG_PORT (port configuration)

header.action

 

 

ZcDSC_ALL_PARMS

(1)

- Set all operating modes

 

 

(Configuration, Baud Rate and

 

Port)

ZcDSC_CFG_MODE

(2)

- Set Configuration mode only

 

 

(Ecode, Sync, Mode, Parity)

ZcDSC_BAUD_RATE

(3)

- Set Baud Rate mode only

 

 

(X.Clk, S.Clk, Baud Rate)

ZcDSC_PORT_MODE

(4)

- Set Port mode only (Pmode)

ZcDSC_BREAK_REQ

(5)

- Port Break request

ZcDSC_SET_XMIT_LIMIT

(6)

- Modify port transmit limit

ZcDSC_ENABLE_PORT

(7)

- Enable a port

ZcDSC_DISABLE_PORT

(8)

- Disable a port

header.tag1,

header.tag2 Any values.

data.setport.iftno

Interface card number (0, 1,...).

data.setport.portno

Port number in the interface card:

0..7 For Z7200A, Z7340A, and Z7400A ACC interface cards 0..3 For the Z7300A ACC interface card

0..1 For the Z7350A ACC interface card

data.setport.rcode

This field is for actions 1-4 only. Values are: 1 - Use configuration in interface table

2 - Use data in field \fIdata.setport.cnfg

data.setport.spare

Unused spare field. For data alignment.

190

Chapter 4

Page 190
Image 190
HP UX 11i v1 I/O Cards manual Data.setport.portno, Data.setport.rcode, Data.setport.spare