serial

package
v0.0.0-...-8886972 Latest Latest
Warning

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

Go to latest
Published: Mar 7, 2022 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const (
	SBAddr = 0x01
	SCAddr = 0x02
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Serial

type Serial struct {
	SB byte
	SC byte
}

func NewSerial

func NewSerial() *Serial

func (*Serial) Read

func (s *Serial) Read(addr types.Addr) byte

func (*Serial) Write

func (s *Serial) Write(addr types.Addr, value byte)

Jump to

Keyboard shortcuts

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