tinygo.org/x/drivers@v0.27.1-0.20240509133757-7dbca2a54349/sx127x/radiocontrol.go (about)

     1  package sx127x
     2  
     3  // SX127X radio transceiver has several pins that control NSS,
     4  // and that are signalled when RX or TX operations are completed.
     5  // This interface allows the creation of types that can control this
     6  type RadioController interface {
     7  	Init() error
     8  	SetNss(state bool) error
     9  	SetupInterrupts(handler func()) error
    10  }