Documentation ¶
Index ¶
- Constants
- Variables
- func DoI2cRpc() error
- type Command
- type I
- type I2cDev
- func (h *I2cDev) Eeprom() (string, error)
- func (h *I2cDev) FanSpeed() (string, error)
- func (h *I2cDev) GetAdminState() string
- func (h *I2cDev) Iin() (string, error)
- func (h *I2cDev) Iout() (string, error)
- func (h *I2cDev) MfgIdent() (string, error)
- func (h *I2cDev) MfgModel() (string, error)
- func (h *I2cDev) ModeRaw() (uint16, error)
- func (h *I2cDev) PMBusRev() (uint16, error)
- func (h *I2cDev) Page() (uint16, error)
- func (h *I2cDev) PageWr(i uint16) error
- func (h *I2cDev) Pin() (string, error)
- func (h *I2cDev) PinRaw() (uint16, error)
- func (h *I2cDev) Pout() (string, error)
- func (h *I2cDev) PoutRaw() (uint16, error)
- func (h *I2cDev) PsuStatus() string
- func (h *I2cDev) SetAdminState(s string)
- func (h *I2cDev) StatusFans() (uint16, error)
- func (h *I2cDev) StatusInput() (uint16, error)
- func (h *I2cDev) StatusIout() (uint16, error)
- func (h *I2cDev) StatusTemp() (uint16, error)
- func (h *I2cDev) StatusVout() (uint16, error)
- func (h *I2cDev) StatusWord() (uint16, error)
- func (h *I2cDev) Temp1() (string, error)
- func (h *I2cDev) Temp2() (string, error)
- func (h *I2cDev) Vin() (string, error)
- func (h *I2cDev) Vout() (string, error)
- type I2cReq
- type Info
- type R
Constants ¶
View Source
const MAXOPS = 30
Variables ¶
Functions ¶
Types ¶
type Command ¶
type Command struct { Info Init func() Gpio func() // contains filtered or unexported fields }
type I2cDev ¶
type I2cDev struct { Slot int Installed int Id string Model string Bus int Addr int AddrProm int MuxBus int MuxAddr int MuxValue int GpioPwrok string GpioPrsntL string GpioPwronL string GpioIntL string Update [3]bool Delete bool }
func (*I2cDev) GetAdminState ¶
func (*I2cDev) SetAdminState ¶
func (*I2cDev) StatusFans ¶
func (*I2cDev) StatusInput ¶
func (*I2cDev) StatusIout ¶
func (*I2cDev) StatusTemp ¶
func (*I2cDev) StatusVout ¶
func (*I2cDev) StatusWord ¶
Click to show internal directories.
Click to hide internal directories.