Sets the clocking configuration of the H.100/H.110 interface.
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 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. |
TxConfigClock specifies:
Whether or not the TX board is the master or slave of the main clock signals
The source of the TX board clock circuit reference input (internal, T1/E1/J1 interface, or SEC8K clock signal)
Whether or not the TX board drives the SEC8K clock signal
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.
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. |
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. |
Parameter |
Description |
NET_T1A through NET_T1D |
PCI and PCI Express TX boards |
NET_T1A through NET_T1H |
CompactPCI TX boards |