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.
20 lines
509 B
20 lines
509 B
1 year ago
|
//USART CUSTOM (FOR 328pb)
|
||
|
#define USART0_TX_DDR DDRD
|
||
|
#define USART0_TX_PORT PORTD
|
||
|
#define USART0_TX_BIT 1
|
||
|
#define USART0_RX_DDR DDRD
|
||
|
#define USART0_RX_PORT PORTD
|
||
|
#define USART0_RX_BIT 0
|
||
|
|
||
|
//USART CUSTOM (FOR 328pb)
|
||
|
#define USART1_TX_DDR DDRB
|
||
|
#define USART1_TX_PORT PORTB
|
||
|
#define USART1_TX_BIT 3
|
||
|
#define USART1_RX_DDR DDRB
|
||
|
#define USART1_RX_PORT PORTB
|
||
|
#define USART1_RX_BIT 4
|
||
|
#define USART1_DRE_DDR DDRB
|
||
|
#define USART1_DRE_PORT PORTB
|
||
|
#define USART1_DRE_BIT 5
|
||
|
|