1
0
mirror of https://github.com/kidoman/embd synced 2024-12-30 16:41:37 +01:00

minor documentation addition

This commit is contained in:
Thorsten von Eicken 2016-09-08 23:28:20 -07:00
parent b013125381
commit 905f4857d9

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