You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
24 lines
706 B
24 lines
706 B
// USARTCUSTOM (FOR 2560)
|
|
#define USART2_TX_DDR DDRH
|
|
#define USART2_TX_PORT PORTH
|
|
#define USART2_TX_BIT 1
|
|
#define USART2_RX_DDR DDRH
|
|
#define USART2_RX_PORT PORTH
|
|
#define USART2_RX_BIT 0
|
|
// USARTCUSTOM (FOR 2560)
|
|
#define USART1_TX_DDR DDRD
|
|
#define USART1_TX_PORT PORTD
|
|
#define USART1_TX_BIT 3
|
|
#define USART1_RX_DDR DDRD
|
|
#define USART1_RX_PORT PORTD
|
|
#define USART1_RX_BIT 2
|
|
#define USART1_DRE_DDR DDRD
|
|
#define USART1_DRE_PORT PORTD
|
|
#define USART1_DRE_BIT 4
|
|
// USARTCUSTOM (FOR 2560)
|
|
#define USART0_TX_DDR DDRE
|
|
#define USART0_TX_PORT PORTE
|
|
#define USART0_TX_BIT 1
|
|
#define USART0_RX_DDR DDRE
|
|
#define USART0_RX_PORT PORTE
|
|
#define USART0_RX_BIT 0 |