HP UX 11i v1 I/O Cards Zcomzmuxportall, Zcomzmuxportconf, Zcomzmuxportbaud, Zcomzmuxportport

Models: UX 11i v1 I/O Cards

1 298
Download 298 pages 31.75 Kb
Page 255
Image 255

 

 

ZCOM C I/F Library Routines

 

 

zport (3X)

Threads

This routine may be called from multi-threaded application using the

Considerations

POSIX (1003.1c) kernel threads API package. It has the following

 

characteristics when called by multi-threaded application:

 

cancellation point

Thread cancellation can occur when a

 

 

thread calls this routine.

 

async-cancel unsafe

The calling thread’s cancelability

 

 

type must be

 

 

PTHREAD_CANCEL_DEFERRED if

 

 

cancellation is enabled.

 

async-signal unsafe

It cannot be called from a signal

 

 

handler

 

fork unsafe

It cannot be called by a child process

 

 

after fork(2) but before exec(2).

PARAMETERS

iftno

ACC MUX interface number.

 

portno

Port number in the ACC 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

 

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

Chapter 4

255

Page 255
Image 255
HP UX 11i v1 I/O Cards manual Zcomzmuxportall, Zcomzmuxportconf, Zcomzmuxportbaud, Zcomzmuxportport, Zcomzmuxportbrk