17.02.2015 Views

CCS C Compiler Manual PCB / PCM / PCH

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

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

zdc_status( )<br />

Syntax:<br />

Parameters:<br />

Returns:<br />

Function:<br />

Availability:<br />

Examples:<br />

Example Files:<br />

Also See:<br />

value=zcd_status()<br />

None<br />

value - the status of the ZCD module. The following defines are made in the devic<br />

header file and are as follows:<br />

ZCD_IS_SINKING<br />

ZCD_IS_SOURCING<br />

To determine if the Zero-Cross Detection (ZCD) module is currently sinking or sou<br />

If the ZCD module is setup to have the output polarity inverted, the value return wi<br />

All devices with a ZCD module.<br />

value=zcd_status():<br />

None<br />

setup_zcd()<br />

334

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

Saved successfully!

Ooh no, something went wrong!