ZCOM C I/F Library Routines

ZCONFIG (3X)

data.setportsc.ptcfg->ptinfo.subchb.spec[ ]

Subchannel specification data: used for actions ZcDSC_ALL_PARMS or ZcDSC_SET_SUBC_SPECS only. Up to 32 subchannel specifications are allowed. For action ZcDSC_ALL_PARMS, all subchannels are configured. For action ZcDSC_SET_SUBC_SPECS only subchannel entries with the UPD bit set are configured. The subchannel specification definition is shown below:

15

14

13

12

11

 

10

9

8

7

6

5

4

3

2

1

0

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

0

UP

 

 

ITBS

 

 

 

 

 

 

Set to 0

 

 

 

 

D

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Set to 0

 

 

 

 

0

IN

 

Set to 0

 

Mode

0

 

 

 

 

 

 

 

 

 

V

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

UPD: The Update bit is used with the ZcDSC_SET_SUBC_SPECS action to identify subchannels which are to be configured. Subchannels with the UPD bit not set, are unaffected by the ZcDSC_SET_SUBC_SPECS action.

ITBS: Individual Transmit Buffer Size specifies the part of the on-chip transmit buffer allocated to the subchannel. The buffer is 64 bytes long and each timeslot assigned to the subchannel uses two bytes. For example, in the case of a subchannel that uses three timeslots (3 x 64Kbps = 192Kbps), the ITBS value should be set to six (6).

INV: Inversion; if this bit is set, all data of the subchannel transmitted or received by the MUNICH32 is inverted.

Mode: Defines the transmission mode: 00 - Transparent Mode A

01 - Transparent Mode B or Transparent Mode R

10 - V.110/X.30 Mode

11 - HDLC Mode

data.setportsc.len

The length in bytes of the subchannel buffer. For actions ZcDSC_ALL_PARMS, ZcDSC_SET_TIMESLOTS and ZcDSC_SET_SUBC_SPECS this length parameter should be set to the size of the data.setportsc.ptcfg->ptinfo.subchbstructure (e.g. “sizeof(subchbuf_def)”). For all other actions this length is zero.

data.setportsc.qlimit

New port limit (in bytes). This field is for action ZcDSC_SET_XMIT_LIMIT only.

216

Chapter 4

Page 216
Image 216
HP Advanced Communications Controllers (ACC) Data.setportsc.ptcfg-ptinfo.subchb.spec, Set to Mode, Data.setportsc.len