i2c

package
v2.0.3 Latest Latest
Warning

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

Go to latest
Published: Jan 4, 2020 License: BSD-2-Clause Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const (
	I2C_DEV                   = "/dev/i2c"
	I2C_SLAVE_NONE      uint8 = 0xFF
	I2C_SMBUS_BLOCK_MAX       = 32 /* As specified in SMBus standard */
)

Variables

This section is empty.

Functions

This section is empty.

Types

type I2C

type I2C struct {
	Bus uint
}

func (I2C) Name

func (I2C) Name() string

func (I2C) New

func (config I2C) New(log gopi.Logger) (gopi.Unit, error)

type I2CFunction

type I2CFunction uint32

Jump to

Keyboard shortcuts

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