17.02.2015 Views

CCS C Compiler Manual PCB / PCM / PCH

Create successful ePaper yourself

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

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!