Documentation ¶
Overview ¶
Package generic provides generic (to Linux) drivers for functionalities like
Digital I/O I²C LED control
They are used by the hosts to satiate the HAL.
Index ¶
Constants ¶
View Source
const (
MaxGPIOInterrupt = 64
)
Variables ¶
View Source
var ErrorPinAlreadyRegistered = errors.New("pin interrupt already registered")
Functions ¶
func NewDigitalPin ¶
func NewDigitalPin(pd *embd.PinDesc, drv embd.GPIODriver) embd.DigitalPin
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.