machine/atmega328pb: refactor to enable extra uart

This commit is contained in:
Yurii Soldak
2023-11-29 03:46:11 +01:00
committed by Ron Evans
parent 2d289addb7
commit 6420e90124
10 changed files with 807 additions and 678 deletions
+5
View File
@@ -2,6 +2,11 @@
package machine
// Return the current CPU frequency in hertz.
func CPUFrequency() uint32 {
return 16000000
}
const (
// Note: start at port B because there is no port A.
portB Pin = iota * 8