Main Page   Modules   Data Structures   File List   Data Fields   Globals  

avrlibdefs.h File Reference

AVRlib global defines and macros. More...

Go to the source code of this file.

Defines

#define outb(addr, data)   outp(data, addr)
#define inb(addr)   inp(addr)
#define DDR(x)   ((x)-1)
#define PIN(x)   ((x)-2)
#define MIN(a, b)   ((a<b)?(a):(b))
#define MAX(a, b)   ((a>b)?(a):(b))
#define ABS(x)   ((x>0)?(x):(-x))
#define PRG_RDW(a)   ( (PRG_RDB((unsigned char*)(a)) & 0x00FF) | ((PRG_RDB((unsigned char*)(a)+1))<<8) )
#define PI   3.14159265359


Detailed Description

AVRlib global defines and macros.

Definition in file avrlibdefs.h.


Generated on Sun Feb 22 19:12:31 2004 for Procyon AVRlib by doxygen1.3-rc2