atmega2560: support UART1-3

+ example for uart
This commit is contained in:
Yurii Soldak
2022-06-15 15:55:11 +02:00
committed by Ron Evans
parent 9294141d70
commit c119721e3b
4 changed files with 135 additions and 25 deletions
+3
View File
@@ -9,6 +9,9 @@ import (
)
const irq_USART0_RX = avr.IRQ_USART0_RX
const irq_USART1_RX = avr.IRQ_USART1_RX
const irq_USART2_RX = avr.IRQ_USART2_RX
const irq_USART3_RX = avr.IRQ_USART3_RX
const (
portA Pin = iota * 8