mirror of
https://github.com/tinygo-org/drivers.git
synced 2026-07-26 10:38:41 +00:00
4a950a4474
Signed-off-by: deadprogram <ron@hybridgroup.com>
11 lines
328 B
Go
11 lines
328 B
Go
package sx127x
|
|
|
|
// SX127X radio transceiver has several pins that control NSS,
|
|
// and that are signalled when RX or TX operations are completed.
|
|
// This interface allows the creation of types that can control this
|
|
type RadioController interface {
|
|
Init() error
|
|
SetNss(state bool) error
|
|
SetupInterrupts(handler func()) error
|
|
}
|