Main Page | Modules | Data Structures | Directories | File List | Data Fields | Globals | Related Pages

# avrlibdefs.h File Reference

## Detailed Description

Definition in file avrlibdefs.h.

Go to the source code of this file.

## Defines
#define | outb(addr, data) addr = (data)
#define | inb(addr) (addr)
#define | outw(addr, data) addr = (data)
#define | inw(addr) (addr)
#define | BV(bit) (1<<(bit))
#define | cbi(reg, bit) reg &= ~(BV(bit))
#define | sbi(reg, bit) reg |= (BV(bit))
#define | cli() __asm__ __volatile__ ("cli" ::)
#define | sei() __asm__ __volatile__ ("sei" ::)
#define | GNUC_PACKED __attribute__((packed))
| DHCP Header.
#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 | PI 3.14159265359