mirror of
https://github.com/tinygo-org/tinygo.git
synced 2026-08-19 12:04:03 +00:00
maixbit: add SPI support
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
// +build k210,maixbit
|
||||
|
||||
package machine
|
||||
|
||||
import "device/kendryte"
|
||||
|
||||
// SPI on the MAix Bit.
|
||||
var (
|
||||
SPI0 = SPI{
|
||||
Bus: kendryte.SPI0,
|
||||
}
|
||||
SPI1 = SPI{
|
||||
Bus: kendryte.SPI1,
|
||||
}
|
||||
)
|
||||
Reference in New Issue
Block a user