TxConfigClock

Sets the clocking configuration of the H.100/H.110 interface.

Prototype

S16 TxConfigClock ( S16 handle, CLOCK_T clock, SEC8K_T sec8k, NETWORK_T network)

Argument

Description

handle

Handle returned from a previous call to TxMvipOpen for the desired board.

clock

Mode for the main clock signals. Refer to Details for valid options.

sec8k

Source of the SEC8K clock signal. Refer to Details for valid options.

network

Clock reference source for the master or SEC8K clock. Refer to Details for valid options.


Return values

Return value

Description

SUCCESS

 

MVIP_INVALID_HANDLE

Invalid handle.

MVIP_INVALID_LENGTH

Length of the request packet is invalid.

MVIP_INVALID_STREAM

Output or source stream number is out of range.

MVIP_INVALID_TIMESLOT

Output or source timeslot number is out of range.

MVIP_NO_RESOURCES

MVIP adapter is not present on the communications processor.


Details

TxConfigClock specifies:

This request overrides the clocking settings specified in the txconfig or tdmcfg configuration files.

The following tables provide the valid options for the clock and sec8k parameters.

Valid options for the clock parameter

Parameter

Description

CLOCK_REF_MVIP

TX board is a slave.

CLOCK_REF_SEC8K

TX board is a master, referenced from the SEC8K signal.

CLOCK_REF_OSC

TX board is a master, free-running from the internal oscillator.

CLOCK_REF_NET

TX board is a master, referenced from the T1/E1/J1 interface specified in the network parameter.


Valid options for the sec8k parameter

Parameter

Description

SEC8K_NOT_DRIVEN

SEC8K not driven by the TX board.

SEC8K_DRIVEN_BY_OSC

SEC8K driven by the internal oscillator.

SEC8K_DRIVEN_BY_NET

SEC8K driven by the clock referenced from the T1/E1/J1 interface specified in the network parameter.


Valid options for the network parameter

Parameter

Description

NET_T1A through NET_T1D

PCI and PCI Express TX boards

NET_T1A through NET_T1H

CompactPCI TX boards