Files
tinygo/src/machine/board_maixbit_baremetal.go
T
deadprogram 2bee29959b refactor: use *SPI everywhere to make consistant for implementations.
Fixes #4663 "in reverse" by making SPI a pointer everywhere, as discussed
in the comments.

Signed-off-by: deadprogram <ron@hybridgroup.com>
2025-03-11 06:06:31 -07:00

16 lines
181 B
Go

//go:build k210 && maixbit
package machine
import "device/kendryte"
// SPI on the MAix Bit.
var (
SPI0 = &SPI{
Bus: kendryte.SPI0,
}
SPI1 = &SPI{
Bus: kendryte.SPI1,
}
)