Documentation ¶
Overview ¶
Package gpio configures and toggles GPIO pins using /sys/class/gpio.
Index ¶
Constants ¶
View Source
const ( GPIOHANDLE_REQUEST_OUTPUT = 0x2 GPIO_GET_LINEHANDLE_IOCTL = 0xc16cb403 GPIOHANDLE_SET_LINE_VALUES_IOCTL = 0xc040b409 )
Variables ¶
This section is empty.
Functions ¶
func ResetUARTGW ¶
ResetUARTGW resets the UARTGW whose reset pin is connected to pin by holding the pin low for 150ms, flushing the pending UART data, then setting the pin high again.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.