Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ALStatusControl ¶
type ALStatusControl struct {
Store uint16
}
func NewALStatusControl ¶
func NewALStatusControl() *ALStatusControl
func (*ALStatusControl) ControlReg ¶
func (sc *ALStatusControl) ControlReg() ALControl
func (*ALStatusControl) InError ¶
func (a *ALStatusControl) InError() bool
func (*ALStatusControl) IsECATWritable ¶
func (a *ALStatusControl) IsECATWritable() bool
func (*ALStatusControl) SetError ¶
func (a *ALStatusControl) SetError(seterr bool)
func (*ALStatusControl) StatusReg ¶
func (sc *ALStatusControl) StatusReg() ALStatus
type DevMapping ¶
func (DevMapping) Device ¶
func (d DevMapping) Device() MMDevice
func (DevMapping) Length ¶
func (d DevMapping) Length() uint16
func (DevMapping) Start ¶
func (d DevMapping) Start() uint16
type L2Bus ¶
type L2Bus struct { Slaves []FrameProcessor // contains filtered or unexported fields }
type L2EEPROM ¶
type L2EEPROM struct { Array [8 * 1024]uint16 Addr uint32 DataScratch [8]byte // already in wire encoding PDIControl bool WriteEnable bool ChecksumError bool EENotLoaded bool MissingAcknowledge bool ErrorWriteEnable bool Busy bool }
func NewL2EEPROM ¶
func NewL2EEPROM() *L2EEPROM
func (*L2EEPROM) Reg ¶
func (ee *L2EEPROM) Reg() *L2EEPROMRegisterSet
type L2EEPROMRegisterSet ¶
type L2EEPROMRegisterSet struct{ *L2EEPROM }
func (L2EEPROMRegisterSet) Latch ¶
func (ee L2EEPROMRegisterSet) Latch(shadow []byte, shadowWriteMask []bool)
func (*L2EEPROMRegisterSet) WriteInteract ¶
func (ee *L2EEPROMRegisterSet) WriteInteract(offs uint16) bool
type L2Slave ¶
type L2Slave struct { BackingMemory [1 << 16]byte ALStatusControl *ALStatusControl EEPROM *L2EEPROM // contains filtered or unexported fields }
func NewL2Slave ¶
func NewL2Slave() *L2Slave
Click to show internal directories.
Click to hide internal directories.