mirror of
https://github.com/tinygo-org/drivers.git
synced 2026-08-05 15:33:42 +00:00
51561d4eab
Signed-off-by: deadprogram <ron@hybridgroup.com>
9 lines
212 B
Go
9 lines
212 B
Go
package st7789
|
|
|
|
// Bus is the interface that wraps the basic Tx and Transfer methods
|
|
// for communication buses like SPI or Parallel.
|
|
type Bus interface {
|
|
Tx(w, r []byte) error
|
|
Transfer(w byte) (byte, error)
|
|
}
|