Macros

Preprocessor switches for the "system.h". More...

Macros

#define F_CPU
 sets the cpu clock frequency to 20 MHz
 
#define __AVR_ATmega644P__
 
#define UART0
 enables the UART0
 
#define UART0_BAUD
 sets the baud rate of UART0 to 57,600
 
#define UART0_TX
 sets the transmit buffer size of UART0 to 64
 
#define UART0_RX
 sets the receive buffer size of UART0 to 64
 
#define UART1
 enables the UART1
 
#define UART1_BAUD
 sets the baud rate of UART1 to 57,600
 
#define UART1_TX
 sets the transmit buffer size of UART1 to 64
 
#define UART1_RX
 sets the receive buffer size of UART1 to 64
 
#define EEPROM
 enables the EEPROM
 
#define DISPLAY
 enables the display
 
#define DISPLAY_PORTB
 sets the controlport of the display to PORTB
 
#define DISPLAY_PIN_RS
 sets the RS signal of the display to pin number 0
 
#define DISPLAY_PIN_RW
 sets the RW signal of the display to pin number 1
 
#define DISPLAY_PIN_E
 sets the E signal of the display to pin number 2
 
#define DISPLAY_DATA_PORTC
 sets the dataport of the display to PORTC
 
#define DISPLAY_DATA_HI
 sets the data pins 4-7 of the display to pin 4-7
 
#define DELAY
 enables the delay
 
#define TWI
 enables the TWI
 
#define TWI_BAUD
 sets the baud rate of the TWI to 50kHz
 
#define TWI_RX
 sets the receive buffer size of the TWI to 16
 
#define TWI_TX
 sets the transmit buffer size of the TWI to 16
 

Detailed Description

Preprocessor switches for the "system.h".

Macro Definition Documentation

◆ __AVR_ATmega644P__

#define __AVR_ATmega644P__

sets cpu type for preprocessor analyses (e.g. visual studio code needs it to resolve constroller specific register names)