AVR Libc Home Page AVRs AVR Libc Development Pages
Main Page User Manual Reference FAQ Example Projects

project.h

011/*
022* ----------------------------------------------------------------------------
033* "THE BEER-WARE LICENSE" (Revision 42): 044* Joerg Wunsch wrote this file. As long as you retain this notice you 055* can do whatever you want with this stuff. If we meet some day, and you think 066* this stuff is worth it, you can buy me a beer in return. Joerg Wunsch 077* ---------------------------------------------------------------------------- 088* 099* Demo combining C and assembly source files. 1010* 1111* $Id: project.h 1124 2006-08-29 19:45:06Z joerg_wunsch $ 1212*/ 1313 1414/* 1515* Global register variables. 1616*/ 1717#ifdef __ASSEMBLER__ 1818 1919# define sreg_save r2 2020# define flags r16 2121# define counter_hi r4 2222 2323#else /* !ASSEMBLER */ 2424 2525#include <stdint.h> 2626 2727register uint8_t sreg_save asm("r2"); 2828register uint8_t flags asm("r16"); 2929register uint8_t counter_hi asm("r4"); 3030 3131#endif /* ASSEMBLER */

uint8_t unsigned char uint8_t

Definition: stdint.h:83

stdint.h