Hi,

Studying the WinAVR & AVR Libc docs, I come across many references like:

#define UDR     UDR0
#define UCSRA   UCSR0A
#define UCSRB   UCSR0B
#define FE      FE0
#define TXEN    TXEN0
#define RXEN    RXEN0
#define RXCIE   RXCIE0
#define UDRE    UDRE0
#define U2X     U2X0
#define UBRRL   UBRR0L

  ADCSRA &= ~_BV(ADIE); /* disable ADC interrupt */
  UCSRA = _BV(U2X);             /* improve baud rate error by using 2x clk
*/
  UBRRL = (F_CPU / (16UL * UART_BAUD)) - 1;
  SET(DDR, HD44780_RS);
  ASSIGN(DDR, HD44780_D4, 0x0F);

Where do I find a reference for what all these "constants" mean and how to
use them?

Thanks in advance for the direction! I'm obviously new to this.
_______________________________________________
AVR-GCC-list mailing list
AVR-GCC-list@nongnu.org
https://lists.nongnu.org/mailman/listinfo/avr-gcc-list

Reply via email to