Table of Contents Index NMS Glossary Previous Page Next Page (Page 12 of 29 in this chapter) Version


swiEnableSwitch

Description

Enables the switch block with respect to the MVIP bus.

Prototype

DWORD swiEnableSwitch ( SWIHD swihd)

swihd Handle returned by swiOpenSwitch.

Return Values

Events

Details

This function enables the switch block with respect to the MVIP bus. After this function is called, the switch block outputs are able to drive the bus.

The effect of swiEnableSwitch on the local side (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

swiDisableSwitch, swiGetLastError, swiSetVerify

Example


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

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


Table of Contents Index NMS Glossary Previous Page Next Page (Page 12 of 29 in this chapter) Version


Want to send us feedback on our documentation? Email: Tech_Pubs@nmss.com
Copyright © 2000, Natural MicroSystems, Inc. All rights reserved.