21.08.2013 Views

Embedded Systems Design with the Atmel AVR Microcontroller Part II

Embedded Systems Design with the Atmel AVR Microcontroller Part II

Embedded Systems Design with the Atmel AVR Microcontroller Part II

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

#define TXCIE0 6<br />

#define UDRIE0 5<br />

#define RXEN0 4<br />

#define TXEN0 3<br />

#define UCSZ02 2<br />

#define RXB80 1<br />

#define TXB80 0<br />

#define UCSR0A (*(volatile unsigned char *)0xC0)<br />

#define RXC0 7<br />

#define TXC0 6<br />

#define UDRE0 5<br />

#define FE0 4<br />

#define DOR0 3<br />

#define UPE0 2<br />

#define U2X0 1<br />

#define MPCM0 0<br />

#define UDR0 (*(volatile unsigned char *)0xC6)<br />

/* USART1 */<br />

#define UBRR1H (*(volatile unsigned char *)0xCD)<br />

#define UBRR1L (*(volatile unsigned char *)0xCC)<br />

#define UBRR1 (*(volatile unsigned int *)0xCC)<br />

#define UCSR1C (*(volatile unsigned char *)0xCA)<br />

#define UMSEL11 7<br />

#define UMSEL10 6<br />

#define UPM11 5<br />

#define UPM10 4<br />

#define USBS1 3<br />

#define UCSZ11 2<br />

#define UCSZ10 1<br />

#define UCPOL1 0<br />

#define UCSR1B (*(volatile unsigned char *)0xC9)<br />

#define RXCIE1 7<br />

#define TXCIE1 6<br />

#define UDRIE1 5<br />

#define RXEN1 4<br />

#define TXEN1 3<br />

#define UCSZ12 2<br />

#define RXB81 1<br />

283

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

Saved successfully!

Ooh no, something went wrong!