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.

PreProcessor<br />

SCK2<br />

SSDMA<br />

Transmit (also named: U2DT)<br />

SPI2 Clock Output<br />

SPI DMA Slave Select<br />

pin_xx is the <strong>CCS</strong> provided pin definition. For example:<br />

PIN_C7, PIN_B0, PIN_D3, etc.<br />

Purpose:<br />

Examples:<br />

Example<br />

Files:<br />

Also See:<br />

When using PPS chips a #PIN_SELECT must be appear<br />

before these peripherals can be used or referenced.<br />

#pin_select U1TX=PIN_C6<br />

#pin_select U1RX=PIN_C7<br />

#pin_select INT1=PIN_B0<br />

None<br />

None<br />

__pcb__<br />

Syntax:<br />

Elements:<br />

Purpose:<br />

Examples:<br />

Example Files:<br />

Also See:<br />

__<strong>PCB</strong>__<br />

None<br />

The <strong>PCB</strong> compiler defines this pre-processor identifier. It may be used to<br />

determine if the <strong>PCB</strong> compiler is doing the compilation.<br />

#ifdef __pcb__<br />

#device PIC16c54<br />

#endif<br />

ex_sqw.c<br />

__<strong>PCM</strong>__, __<strong>PCH</strong>__<br />

__pcm__<br />

Syntax:<br />

__<strong>PCM</strong>__<br />

123

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

Saved successfully!

Ooh no, something went wrong!