11.07.2015 Views

Imagecraft c compiler and development environment for the atmel avr

Imagecraft c compiler and development environment for the atmel avr

Imagecraft c compiler and development environment for the atmel avr

SHOW MORE
SHOW LESS

Create successful ePaper yourself

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

ICCV8 <strong>for</strong> AVR – C Compiler <strong>for</strong> Atmel AVRC Library General DescriptionLibrary SourceThe library source code (c:\iccv8<strong>avr</strong>\libsrc.<strong>avr</strong>\libsrc.zip by default) is apassword-protected zip file. You may use c:\iccv8<strong>avr</strong>\bin\7za.exe or any of <strong>the</strong>unzip programs available on <strong>the</strong> web if you do not already have one. The password isshown on <strong>the</strong> “About” box if <strong>the</strong> software has been unlocked. For example:cd \c:\iccv8<strong>avr</strong>\libsrcunzip -s libsrc.zip; unzip prompts <strong>for</strong> passwordAVR-Specific FunctionsICCV8 <strong>for</strong> AVR comes with a set of functions <strong>for</strong> Accessing <strong>the</strong> UART, EEPROM, SPI,<strong>and</strong> O<strong>the</strong>r Peripherals. Stack Checking Functions are useful to detect stack overflow.In addition, our web site contains a page with user-written source code.io*v.h (io2313v.h, io8515v.h, iom128v.h, ... etc.)These files define <strong>the</strong> IO registers, bit definitions, <strong>and</strong> interrupt vectors <strong>for</strong> <strong>the</strong> AVRdevices.AVRdef.h (Used to be named macros.h.)This file contains useful macros <strong>and</strong> defines.Header FilesThe following st<strong>and</strong>ard C header files are supported. In general, it is good practice toinclude <strong>the</strong> header files if you use <strong>the</strong> listed functions in your program. In <strong>the</strong> case offloating-point or long functions, you must include <strong>the</strong> header files, since <strong>the</strong> <strong>compiler</strong>must know about <strong>the</strong>ir prototypes.assert.h - assert(), <strong>the</strong> assertion macros.ctype.h - character type functions.float.h - floating-point characteristics.limits.h - data type sizes <strong>and</strong> ranges.math.h - floating-point math functions.stdarg.h - support <strong>for</strong> variable argument functions.stddef.h - st<strong>and</strong>ard defines.89

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

Saved successfully!

Ooh no, something went wrong!