ss_blog_claim=726e70d7c87c20ae33aa7a61f06eb8aa

Sunday, April 20, 2008

about ccs c compiler

The CCS C compiler was developed exclusively for the PIC MCU - making it the most optimized compiler for Microchip parts. The compiler has a generous library of built-in functions, preprocessor commands, and ready-to-run example programs to quickly jump-start any project. Drivers for real-time clocks, LCD's, A/D converters and many more are innate features to the CCS C compiler.



The compiler contains standard C operators and built-in libraries that are specific to the PIC registers. Access to hardware features from C.

Features includes:
  • 1, 8, 16 and 32 bit integer types and 32 bit floating point.
  • standard one bit type(short int) permits the compiler to generate very efficeint bit oriented code.
  • #BIT and #byte will allow C variables to be placed at absolute address to map registers to C variables.
  • bit arrays.
  • fixed point decimal.
  • constants(including strings and arrays) are saved in program memory.
  • flexible handling of constant data.
  • variable length constant strings
  • address mode capability to create user defined address spaces in memory device.
The CCS C compiler for PIC10, PIC12, PIC14, PIC16 and PIC18 microcontrollers has over 180 built-in functions to access PIC MCU hardware is easy and produces efficient and highly optimized code. Functions such as timers, A/D, EEPROM, SSP, PSP, USB, I2C and more


  • Built-in libraries that work with all chips for RS-232 serial I/O, I2C, discrete I/O and precision delays.
  • serial I/O functions allow standard functions such as GETC() and PRINTF() to be used to forRS-232 like I/O.
  • formatted printf allows easy formatting and display in HEX or decimal.
  • multiple I2C and RS232 ports may be easily defined.
  • #use rs232() offers options to specify a maximum wait time for getc.
  • Functions such as INPUT() and OUTPUT_HIGH() properly maintain the tri-state registers.
  • Simple functions like READ_ADC() to read a value from A/D converter.
click here to download the demo version of CCS C compiler*

*you must fill an information form for downloading the demo version

No comments: