(Page 12 of 28 in this chapter)


swiDisableSwitch

Description

Disables the switch block with respect to the MVIP bus.

Prototype

DWORD swiDisableSwitch ( SWIHD swihd)

swihd Handle returned by swiOpenSwitch.

Return Values

Events

Details

This function can be used to put the output buffers to the MVIP bus into the high impedance state. This function does not change the state of the switch block outputs. Further switching commands can be made on the swihd. However, they will not take effect until swiEnableSwitch is called.

The effect of swiDisableSwitch on the local (or external network side) of the MVIP switch block is dependent on the MVIP device implementation.

If CTAERR_DRIVER_ERROR is returned, call swiGetLastError to retrieve the MVIP device error code.

See Also

swiEnableSwitch, swiGetLastError, swiSetVerify

Example


void myDisableSwitches(SWIHD hd[], unsigned count)
{
unsigned i;
int ret = 0;

for (i = 0; i < count; i++)
{
swiDisableSwitch(hd[i]);
}
}


(Page 12 of 28 in this chapter)


tech_support@nmss.com
Copyright © 1997, Natural MicroSystems, Inc. All rights reserved.