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 AVRment is of <strong>the</strong> type pointer to long. d <strong>the</strong> input is a decimal number. The argument must be a pointer to a(long) int. x/X <strong>the</strong> input is a hexadecimal number, possibly beginning with 0x or 0X.The argument must be a pointer to an unsigned (long) int. p <strong>the</strong> input is a hexadecimal number, possibly beginning with 0x or 0X.The argument must be cast to a pointer to a “void pointer,” e.g., void **. u <strong>the</strong> input is a decimal number. The argument must be a pointer to anunsigned (long) int. o <strong>the</strong> input is a decimal number. The argument must be a pointer to anunsigned (long) int. c <strong>the</strong> input is a character. The argument must be a pointer to a character. int sscanf(char *buf char *fmt, ...)same as scanf except that <strong>the</strong> input is taken from <strong>the</strong> buffer buf. int vprintf(char *fmt, va_list va); ) - same as printf except that<strong>the</strong> arguments after <strong>the</strong> <strong>for</strong>mat string are specified using <strong>the</strong> stdarg mechanism.If you enable <strong>the</strong> “Strings in FLASH” option, <strong>the</strong> literal <strong>for</strong>mat strings <strong>for</strong> printf/scanf/etc. are now in flash. The following functions are provided:cprintf, csprintf, cscanf, <strong>and</strong> csscanf. They behave in <strong>the</strong> same way as <strong>the</strong>counterparts without <strong>the</strong> c prefix, except that <strong>the</strong> <strong>for</strong>mat string is in flash.98

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

Saved successfully!

Ooh no, something went wrong!