toggle

package
v1.3.1 Latest Latest
Warning

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

Go to latest
Published: Feb 6, 2019 License: GPL-2.0, GPL-2.0-or-later Imports: 8 Imported by: 0

Documentation

Overview

Package ucd9090 provides access to the UCD9090 Power Sequencer/Monitor chip

Index

Constants

View Source
const (
	Name    = "toggle"
	Apropos = "toggle console port between x86 and BMC"
	Usage   = "toggle SECONDS"
	Man     = `
DESCRIPTION
	The toggle command toggles the console port between x86 and BMC.`
)
View Source
const MAXOPS = 30

Variables

This section is empty.

Functions

func DoI2cRpc

func DoI2cRpc() error

func ReadByte

func ReadByte(b uint8, a uint8, c uint8) (uint8, error)

func WriteByte

func WriteByte(b uint8, a uint8, c uint8, v uint8) error

Types

type I

type I struct {
	InUse     bool
	RW        i2c.RW
	RegOffset uint8
	BusSize   i2c.SMBusSize
	Data      [34]byte
	Bus       int
	Addr      int
	Delay     int
}

type I2cReq

type I2cReq int

type Interface

type Interface interface {
	Apropos() lang.Alt
	Main(...string) error
	Man() lang.Alt
	String() string
	Usage() string
}

func New

func New() Interface

type R

type R struct {
	D [34]byte
	E error
}

Jump to

Keyboard shortcuts

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