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.

Table of Contents<br />

spi_init() ............................................................................................................................... 313<br />

spi_prewrite(data); ............................................................................................................... 314<br />

spi_read( ) spi_read2( ) ...................................................................................................... 314<br />

spi_read_16() ....................................................................................................................... 315<br />

spi_read2_16() ..................................................................................................................... 315<br />

spi_read3_16() ..................................................................................................................... 315<br />

spi_read4_16() ..................................................................................................................... 315<br />

spi_speed ............................................................................................................................ 316<br />

spi_write( ) spi_write2( ) ....................................................................................................... 317<br />

spi_xfer( ) ............................................................................................................................. 317<br />

SPII_XFER_IN() ................................................................................................................... 318<br />

sprintf( ) ................................................................................................................................ 318<br />

sqrt( ) ................................................................................................................................... 319<br />

srand( ) ................................................................................................................................ 320<br />

strtod( ) ................................................................................................................................ 320<br />

strtok( ) ................................................................................................................................. 321<br />

strtol( ) .................................................................................................................................. 322<br />

strtoul( ) ................................................................................................................................ 323<br />

swap( ) ................................................................................................................................. 324<br />

tolower( ) toupper( ) .............................................................................................................. 324<br />

touchpad_getc( ) .................................................................................................................. 325<br />

touchpad_hit( ) ..................................................................................................................... 326<br />

touchpad_state( ) ................................................................................................................. 326<br />

tolower( ) toupper( ) .............................................................................................................. 327<br />

tx_buffer_bytes() .................................................................................................................. 328<br />

tx_buffer_full( ) ..................................................................................................................... 328<br />

va_arg( ) .............................................................................................................................. 329<br />

va_end( ) .............................................................................................................................. 330<br />

va_start ................................................................................................................................ 330<br />

write_bank( ) ........................................................................................................................ 331<br />

write_configuration_memory( ) ............................................................................................. 332<br />

write_eeprom( ) .................................................................................................................... 332<br />

write_extended_ram( ) ......................................................................................................... 333<br />

zdc_status( ) ........................................................................................................................ 334<br />

Standard C Include Files ......................................................................................................... 335<br />

errno.h ................................................................................................................................. 335<br />

float.h ................................................................................................................................... 335<br />

limits.h .................................................................................................................................. 336<br />

locale.h ................................................................................................................................ 337<br />

setjmp.h ............................................................................................................................... 337<br />

stddef.h ................................................................................................................................ 337<br />

stdio.h .................................................................................................................................. 338<br />

stdlib.h ................................................................................................................................. 338<br />

Error Messages ....................................................................................................................... 339<br />

<strong>Compiler</strong> Error Messages ..................................................................................................... 339<br />

<strong>Compiler</strong> Warning Messages .................................................................................................. 349<br />

<strong>Compiler</strong> Warning Messages ............................................................................................... 349<br />

Common Questions & Answers .............................................................................................. 353<br />

How are type conversions handled? .................................................................................... 353<br />

How can a constant data table be placed in ROM? .............................................................. 354<br />

How can I use two or more RS-232 ports on one PIC®? ...................................................... 355<br />

xi

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

Saved successfully!

Ooh no, something went wrong!