mirror of
https://github.com/tinygo-org/drivers.git
synced 2026-07-26 10:38:41 +00:00
46c9ba9595
Signed-off-by: deadprogram <ron@hybridgroup.com>
8 lines
167 B
Go
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)
|
|
}
|