mirror of
https://github.com/kidoman/embd
synced 2024-12-22 04:40:04 +01:00
gpio: better docs
This commit is contained in:
parent
e6d0ea4225
commit
9aaadba2e3
2
gpio.go
2
gpio.go
@ -125,7 +125,7 @@ type PWMPin interface {
|
||||
|
||||
// GPIODriver implements a generic GPIO driver.
|
||||
type GPIODriver interface {
|
||||
// Returns the pinmap for this GPIODriver
|
||||
// PinMap returns the pinmap for this driver.
|
||||
PinMap() PinMap
|
||||
|
||||
// Unregister unregisters the pin from the driver. Should be called when the pin is closed.
|
||||
|
Loading…
x
Reference in New Issue
Block a user