megaAVR STK600 UART configuration
Copyright (c) 2014-2018 Microchip Technology Inc. and its subsidiaries.
Macros | |
#define | BAUD 9600 |
Set the desired baud rate value. More... | |
#define | BAUD_TOL 2 |
set the baud rate tolerance to 2% More... | |
#define | UART0_DATA_EMPTY_IRQ USART_UDRE_vect |
define the UART data buffer ready interrupt vector More... | |
#define | UART0_RX_IRQ USART_RX_vect |
define the UART data More... | |
#define BAUD 9600 |
Set the desired baud rate value.
set the desired baudrate, the define is used by the util/setbaud.h to calculate the register values.
#define BAUD_TOL 2 |
set the baud rate tolerance to 2%
#define UART0_DATA_EMPTY_IRQ USART_UDRE_vect |
define the UART data buffer ready interrupt vector
#define UART0_RX_IRQ USART_RX_vect |
define the UART data