05.05.2014 Views

csmstr - Omega Engineering

csmstr - Omega Engineering

csmstr - Omega Engineering

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

FUNCTION REFERENCE<br />

DEVCTRL(DEVICE, FUNCTION, DATA)<br />

DEVCTRL(DEVICE, FUNCTION, DATA)<br />

ARGUMENT TYPE DESCRIPTION<br />

device int The index of the device to be controlled.<br />

function int The required function to be executed.<br />

data cstring Any parameter for the function.<br />

DESCRIPTION<br />

This function is used to perform a special operation on a communications device. The number<br />

to be placed in the device argument to identify the device can be viewed in the status bar of<br />

the Communications category when the device name is highlighted. The specific action to be<br />

performed is indicated by the function parameter, the values of which will depend upon the<br />

type of device being addresses. The data parameter may be used to pass addition information<br />

to the driver. Most drives do not support this function. Where supported, the operations are<br />

driver-specific, and are documented separately.<br />

FUNCTION TYPE<br />

This function is active.<br />

RETURN TYPE<br />

int.<br />

EXAMPLE<br />

Refer to comms driver application notes for specific examples.<br />

REVISION 6 PAGE 315

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!