minor documentation addition

This commit is contained in:
Thorsten von Eicken 2016-09-08 23:28:20 -07:00
parent b013125381
commit 905f4857d9
1 changed files with 5 additions and 1 deletions

View File

@ -33,7 +33,11 @@ const (
EdgeBoth Edge = "both"
)
// InterruptPin implements access to a Interruptable capable GPIO pin.
// InterruptPin implements access to an interrupt capable GPIO pin.
// The basic capability provided is to watch for a transition on the pin and
// generate a callback to a handler when a transition occurs.
// On Linux the underlying implementation generally uses epoll to receive the
// interrupts at user-level.
type InterruptPin interface {
// Start watching this pin for interrupt