CCS C Compiler
Features
The compiler is comprised with Standard C operators and built-in libraries that are
specific to PIC ? MCU registers, and access to hardware features from C.
PIC10 / PIC12 / PIC14 / PIC16 / PIC18
1, 8, 16, 32-bit integer types & 32-bit ?oating point
Bit Arrays and Fixed Point Decimals
#BIT and #BYTE will allow C variables to be
placed at absolute addresses to map registers
to C variables
Standard one-bit type (Short Int) permits the
compiler to generate very ef?cient Bit-oriented code
Constants (including strings and arrays) are
saved in program memory
Flexible Handling of Constant Data
Variable length Constant Strings
AddressMod capability to create user de?ned
address spaces in memory device
Processor &
Peripheral Controls
The CCS C Compiler for PIC10, PIC12,
PIC14, PIC16, PIC18 and PIC24
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, I 2 C,
discrete I/O and precision delays
?  Serial I/O functions allow standard functions such as GETC() and 
PRINTF() to be used for RS-232 like I/O
?  Formatted printf allows for easy formatting and display in HEX or 
decimal
?  Multiple I 2 C and RS232 ports may be easily defined
?  #use rs232() offers options to specify a maximum wait time for getc
?  Hardware transceiver used when possible, but for all other occasions 
the compiler generates a software serial transceiver
?  Microcontroller clock speed may be specified in a PRAGMA to 
permit built-in functions to delay for a given number of microseconds 
or milliseconds
?  Functions such as INPUT() and OUTPUT_HIGH() properly maintain 
the tri-state registers
?  Compiler directives determine if tri-state registers are refreshed on 
every I/O or if the I/O is as fast as possible
?  #USE SPI ()
?  Simple functions like READ_ADC() to read a value from A/D 
converter
?  Source code drivers included for LCD modules, keypads, 24xx and 
94xx serial EEPROM, X10, DS1302 and NJU6355 real time clocks, 
Dallas touch memory devices, DS2223 and PCF8570, LTC1298 
and PCF8591 A/D converters, temperature sensors, digital pots, I/O 
expander and much more
Advanced Features in PIC24 & dsPIC ? DSCs
Also 48 & 64-bit ?oating point make calculations
requiring greater precision or broader range easier
#BIT, #BYTE and #WORD will allow C variables
to be placed at absolute addresses to map registers
Constants in ROM
Enhanced oscillator control to choose from
a multitude of clock sources, PLL and power
saving options
Function recursion allows for interactive
processing algorithms
Advanced
Functions
The compiler can handle inline or
separate functions, as well as parameter
passing in re-usable registers.
Transparent to the user, the compiler
handles calls across pages automatically
and analyzes program structure and
call tree processes to optimize RAM and
ROM Usage.
Additional features include:
?  Efficient function implementation allow call trees deeper than the 
hardware stack
?  Automatic linking handles multiple code pages
?  Assembly code may be inserted anywhere in the source and may 
reference C variables
?  Function Overloading allows for several functions with the same 
name, but differences in number and type of parameters
?  Default Parameters can be used in a function if arguments are not 
used in a call
?  Interrupt functions supported on PCM/PCH. The compiler generates 
all startup and clean up code as well as identifying the correct 
function to be called
?  Reference parameters may be used to improve code readability and 
inline function efficiency
?  Generation Of Multiple HEX Files For Chips With External Memory
?  Variable Number Of Parameters in a function
?  Relocatable Objects / Multiple Compilation Unit (IDE Only)
?  Automatic #fuses Configuration
相关PDF资料
ICL7667CBAZA-T IC MOSFET DRIVER DUAL 8-SOIC
ICL7667CPA+ IC DRIVER MOSFET DUAL PWR 8-DIP
ICM7243BIPLZ IC LED DRIVR WHITE BCKLGT 40-DIP
IDC5N INPUT MODULE DC 34MA 5VDC
IDS7 SHELF FIXED 14.1X20.3" BEIGE
IDT6116SA25TPGI IC SRAM 16KBIT 25NS 24DIP
IDT7005S35G IC SRAM 64KBIT 35NS 68PGA
IDT7006L55G IC SRAM 128KBIT 55NS 68PGA
相关代理商/技术参数
IC-DX 制造商:ICHAUS 制造商全称:ICHAUS 功能描述:UNIVERSAL DIGITAL SENSOR OUTPUT DRIVER
IC-DX_11 制造商:ICHAUS 制造商全称:ICHAUS 功能描述:UNIVERSAL DIGITAL SENSOR OUTPUT DRIVER
IC-DXC 制造商:ICHAUS 制造商全称:ICHAUS 功能描述:Digital Sensor Output Drivers
IC-DXC_11 制造商:ICHAUS 制造商全称:ICHAUS 功能描述:DIGITAL SENSOR I/O DRIVER
IC-DXDFN6 制造商:ICHAUS 制造商全称:ICHAUS 功能描述:UNIVERSAL DIGITAL SENSOR OUTPUT DRIVER
ICE-063-S-TG 功能描述:IC 与器件插座 6P OPN BDY SCRW MCH RoHS:否 制造商:Molex 产品:LGA Sockets 节距:1.02 mm 排数: 位置/触点数量:2011 触点电镀:Gold 安装风格:SMD/SMT 端接类型:Solder 插座/封装类型:LGA 2011 工作温度范围:- 40 C to + 100 C
ICE-063-S-TG30 功能描述:IC 与器件插座 6P OPN BDY SCRW MCH DISC-BY-MFG-6/05 RoHS:否 制造商:Molex 产品:LGA Sockets 节距:1.02 mm 排数: 位置/触点数量:2011 触点电镀:Gold 安装风格:SMD/SMT 端接类型:Solder 插座/封装类型:LGA 2011 工作温度范围:- 40 C to + 100 C
ICE083STG 制造商:3M Electronic Products Division 功能描述: