Module lc3_ensemble::sim::io

source ·
Expand description

IO handling for LC-3.

The interface for IO devices is defined with the IODevice trait. The simulator can be configured to interact with a given IO device with Simulator::open_io.

Besides the trait, this module also includes:

  • EmptyIO: An IODevice holding the implementation for a lack of IO support.
  • BufferedIO: An IODevice holding a buffered implementation for IO.
  • BiChannelIO: An IODevice holding a threaded/channel implementation for IO.

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.
  • No IO. All reads and writes are unsuccessful.

Traits§

  • An IO device that can be read/written to.