algo

package
v0.0.0-...-c3fa251 Latest Latest
Warning

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

Go to latest
Published: Aug 5, 2020 License: BSD-3-Clause Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const (
	PIN_0 pinOffset = 1 << iota
	PIN_1
	PIN_2
	PIN_3
	PIN_4
	PIN_5
	PIN_6
	PIN_7
	PIN_8
	PIN_9
	PIN_10
	PIN_11
	PIN_12
	PIN_13
	PIN_14
	PIN_15
)
View Source
const (
	PINSTATE_READ pinState = iota
	PINSTATE_WRITE
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Pin

type Pin struct {
	PortAddress uint32
	SelectedPin pinOffset
	State       pinState
	Delay       time.Duration
}

func (Pin) Marshal

func (p Pin) Marshal() ([]uint8, error)

Jump to

Keyboard shortcuts

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