C Language Development Kit/Functions/GetCTS

From OptiWiki

Jump to: navigation, search
Description Returns the level of the CTS line. Only works with COM0 (direct serial cable).
Syntax
int getCTS(void);
Arguments None
Returns
ON The CTS line is active.
OFF The CTS line is not active.
Remarks getCTS() is available only on the PHL1700

and only works with COM0. getCTS() gives undefined results on other communications ports.

Example
 


Views
Personal tools