Files
drivers/spi.go
T

8 lines
167 B
Go

package drivers
// SPI represents a SPI bus. It is implemented by the machine.SPI type.
type SPI interface {
Tx(w, r []byte) error
Transfer(b byte) (byte, error)
}