gpio

package
v0.0.0-...-57e633d Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 21, 2024 License: BSD-3-Clause Imports: 6 Imported by: 0

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

func ResetUARTGW(uartfd uintptr) error

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL