05.05.2014 Views

csmstr - Omega Engineering

csmstr - Omega Engineering

csmstr - Omega Engineering

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

FUNCTION REFERENCE<br />

DRVCTRL(PORT, FUNCTION, DATA OR VALUE???)<br />

DRVCTRL(PORT, FUNCTION, DATA OR VALUE???)<br />

ARGUMENT TYPE DESCRIPTION<br />

port int The index of the driver 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 driver. The number<br />

to be placed in the port argument to identify the driver is the port number to which the driver<br />

is bound. The specific action to be performed is indicated by the function parameter, the<br />

values of which will depend upon the driver itself. The data parameter may be used to pass<br />

addition information to the driver. Most drivers do not support this function. Where<br />

supported, the operations are 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 319

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

Saved successfully!

Ooh no, something went wrong!