github.com/tinygo-org/tinygo@v0.31.3-0.20240404173401-90b0bf646c27/src/machine/board_maixbit_baremetal.go (about)

     1  //go:build k210 && maixbit
     2  
     3  package machine
     4  
     5  import "device/kendryte"
     6  
     7  // SPI on the MAix Bit.
     8  var (
     9  	SPI0 = SPI{
    10  		Bus: kendryte.SPI0,
    11  	}
    12  	SPI1 = SPI{
    13  		Bus: kendryte.SPI1,
    14  	}
    15  )