ATmega16
ifndef __iom16v_h
#define __iom16v_h
#define uchar unsigned char
#define uint unsigned int
#ifndef BIT
#define BIT(x) (1 << (x))
#endif
/* ATmega16 header file for
* ImageCraft ICCAVR compiler
*/
/* 2 wire serial interface */
#define TWBR (*(volatile unsigned char *)0x20)
#define TWSR (*(volatile unsigned char *)0x21)
#define TWPS1 1
#define TWPS0 0
#define TWCR (*(volatile unsigned char *)0x56)
#define TWINT 7
#define TWEA 6
#define TWSTA 5
#define TWSTO 4
#define TWWC 3
#define TWEN 2
#define TWIE 0
#define TWAR (*(volatile unsigned char *)0x22)
#define TWGCE 0
#define TWDR (*(volatile unsigned char *)0x23)
1