Switching Service Developer's Reference Manual (6421-10): Alphabetical Function Reference
(Page 13 of 28 in this chapter)
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 (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]);
}
}
(Page 13 of 28 in this chapter)
tech_support@nmss.com
Copyright © 1997, Natural MicroSystems, Inc. All rights
reserved.