Documentation ¶
Overview ¶
Package panel implements the front control panel of the VCS.
Index ¶
- func NewPanel(instance *instance.Instance, id plugging.PortID, bus ports.PeripheralBus) ports.Peripheral
- type Panel
- func (pan *Panel) HandleEvent(event ports.Event, value ports.EventData) (bool, error)
- func (pan *Panel) ID() plugging.PeripheralID
- func (pan *Panel) IsActive() bool
- func (pan *Panel) Plumb(bus ports.PeripheralBus)
- func (pan *Panel) PortID() plugging.PortID
- func (pan *Panel) Reset()
- func (pan *Panel) Snapshot() ports.Peripheral
- func (pan *Panel) Step()
- func (pan *Panel) String() string
- func (pan *Panel) Unplug()
- func (pan *Panel) Update(data chipbus.ChangedRegister) bool
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewPanel ¶
func NewPanel(instance *instance.Instance, id plugging.PortID, bus ports.PeripheralBus) ports.Peripheral
NewPanel is the preferred method of initialisation for the Panel type.
Types ¶
type Panel ¶
type Panel struct {
// contains filtered or unexported fields
}
Panel represents the console's front control panel.
func (*Panel) HandleEvent ¶
HandleEvent implements Peripheral interface.
func (*Panel) ID ¶ added in v0.14.0
func (pan *Panel) ID() plugging.PeripheralID
ID implements the Peripheral interface.
func (*Panel) Plumb ¶
func (pan *Panel) Plumb(bus ports.PeripheralBus)
Plumb implements the Peripheral interface.
func (*Panel) Snapshot ¶ added in v0.15.0
func (pan *Panel) Snapshot() ports.Peripheral
Snapshot implements the Peripheral interface.
Click to show internal directories.
Click to hide internal directories.