broadcom

package
v3.0.33 Latest Latest
Warning

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

Go to latest
Published: Mar 12, 2021 License: BSD-2-Clause Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GPIO

type GPIO struct {
	gopi.Unit
}

func (*GPIO) Close

func (this *GPIO) Close() error

func (*GPIO) GetPinMode

func (this *GPIO) GetPinMode(logical gopi.GPIOPin) gopi.GPIOMode

func (*GPIO) New

func (this *GPIO) New(gopi.Config) error

func (*GPIO) NumberOfPhysicalPins

func (this *GPIO) NumberOfPhysicalPins() uint

func (*GPIO) PhysicalPin

func (this *GPIO) PhysicalPin(pin uint) gopi.GPIOPin

func (*GPIO) PhysicalPinForPin

func (this *GPIO) PhysicalPinForPin(logical gopi.GPIOPin) uint

func (*GPIO) Pins

func (this *GPIO) Pins() []gopi.GPIOPin

func (*GPIO) ReadPin

func (this *GPIO) ReadPin(logical gopi.GPIOPin) gopi.GPIOState

func (*GPIO) SetPinMode

func (this *GPIO) SetPinMode(logical gopi.GPIOPin, mode gopi.GPIOMode)

func (*GPIO) SetPullMode

func (this *GPIO) SetPullMode(logical gopi.GPIOPin, pull gopi.GPIOPull) error

func (*GPIO) String

func (this *GPIO) String() string

func (*GPIO) Watch

func (this *GPIO) Watch(gopi.GPIOPin, gopi.GPIOEdge) error

func (*GPIO) WritePin

func (this *GPIO) WritePin(logical gopi.GPIOPin, state gopi.GPIOState)

Jump to

Keyboard shortcuts

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