peripheral

package
v0.6.1 Latest Latest
Warning

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

Go to latest
Published: Jun 1, 2021 License: Zlib Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type NullDevice added in v0.6.1

type NullDevice struct {
}

func (*NullDevice) Install added in v0.6.1

func (*NullDevice) Install(processor.Processor) error

func (*NullDevice) Name added in v0.6.1

func (*NullDevice) Name() string

func (*NullDevice) Reset added in v0.6.1

func (*NullDevice) Reset()

func (*NullDevice) Step added in v0.6.1

func (*NullDevice) Step(int) error

type Peripheral

type Peripheral interface {
	Name() string
	Reset()
	Step(int) error
	Install(processor.Processor) error
}

type PeripheralCloser

type PeripheralCloser interface {
	Close() error
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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