Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Interrupt ¶
type Interrupt struct {
// contains filtered or unexported fields
}
Interrupt provides an interrupt source received from an exportd GPIO pin
func (*Interrupt) SetContext ¶
SetContext sets a context used during Wait(). If the context gets cancelled, Wait() will return immediately return. To clear existing context, pass nil.
Click to show internal directories.
Click to hide internal directories.