Module lc3_ensemble::sim::io
source · Expand description
IO handling for LC-3.
The interface for IO devices is defined with the IODevice trait.
This is exposed to the simulator with the SimIO enum.
Besides those two key items, this module also includes:
EmptyIO: AnIODeviceholding the implementation for a lack of IO support.BufferedIO: AnIODeviceholding a buffered implementation for IO.BiChannelIO: AnIODeviceholding a threaded/channel implementation for IO.CustomIO: AnIODevicethat can be used to wrap around custom IO implementations.
Structs§
- An IO that reads from one channel and writes to another.
- IO that reads from an input buffer and writes to an output buffer.
- An opaque box that holds custom defined IO.
- No IO. All reads and writes are unsuccessful.
Enums§
- All the variants of IO accepted by the Simulator.
Traits§
- An IO device that can be read/written to.