spi

package
v1.0.5 Latest Latest
Warning

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

Go to latest
Published: Mar 26, 2023 License: MIT Imports: 4 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewSPI added in v1.0.1

func NewSPI(busNumber int, chipSelect int, mode Mode, speedMHz int, bits int) spi.Conn

Types

type Mode added in v1.0.1

type Mode = spi.Mode
const Mode0 Mode = spi.Mode0
const Mode1 Mode = spi.Mode1
const Mode2 Mode = spi.Mode2
const Mode3 Mode = spi.Mode3

type SPI

type SPI interface {
	Tx(w, r []byte) error
}

Jump to

Keyboard shortcuts

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