Documentation ¶
Index ¶
- Constants
- Variables
- func ChannelAlarms(t [3]byte, w [6]byte) [8]string
- func DoI2cRpc() error
- func FreeSideAlarms(t [3]byte) string
- func LanePower(t [8]byte) [4]string
- func LanesTxBias(t [8]byte) [4]string
- func Power(t uint16) string
- func Temp(t uint16) string
- func TxBias(t uint16) string
- func Voltage(t uint16) string
- type Command
- type I
- type I2cDev
- func (h *I2cDev) Compliance() string
- func (h *I2cDev) DataReady() bool
- func (h *I2cDev) DynamicBlocks(port int)
- func (h *I2cDev) PN() string
- func (h *I2cDev) QsfpInit(out0 byte, pol0 byte, conf0 byte) error
- func (h *I2cDev) QsfpStatus(port uint8) string
- func (h *I2cDev) ReadMuxInputReg() uint8
- func (h *I2cDev) SN() string
- func (h *I2cDev) StaticBlocks(port int)
- func (h *I2cDev) Vendor() string
- type I2cReq
- type Info
- type R
Constants ¶
View Source
const ( QSFP_RESET_BIT = 1 << 2 QSFP_LPMODE_BIT = 1 << 3 MAX_IRQ_EVENTS = 32 )
View Source
const MAXOPS = 30
Variables ¶
Functions ¶
func ChannelAlarms ¶
func FreeSideAlarms ¶
func LanesTxBias ¶
Types ¶
type I2cDev ¶
type I2cDev struct { Bus int Addr int MuxBus int MuxAddr int MuxValue int MuxBus2 int MuxAddr2 int MuxValue2 int }
func (*I2cDev) Compliance ¶
func (*I2cDev) DynamicBlocks ¶
func (*I2cDev) QsfpStatus ¶
func (*I2cDev) ReadMuxInputReg ¶
func (*I2cDev) StaticBlocks ¶
Click to show internal directories.
Click to hide internal directories.