MCPcopy Create free account
hub / github.com/djhworld/simple-computer / IsInputMode

Method IsInputMode

components/iobus.go:51–53  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

49}
50
51func (i *IOBus) IsInputMode() bool {
52 return i.wires[MODE].Get() == false
53}
54
55func (i *IOBus) IsOutputMode() bool {
56 return i.wires[MODE].Get() == true

Callers

nothing calls this directly

Calls 1

GetMethod · 0.45

Tested by

no test coverage detected