[][src]Module spectrusty_core::bus

System bus device emulators to be used with ControlUnits.

Structs

DynamicBus

A pseudo bus device that allows for adding and removing devices of different types at run time.

DynamicSerdeBus

A wrapper for DynamicBus that is able to serialize and deserialize together with currently attached dynamic devices.

NullDevice

A daisy-chain terminator device. Use it as the last device in a chain.

OptionalBusDevice

A pseudo BusDevice allowing for plugging in and out a device at run time.

Traits

BusDevice

An interface for emulating devices that communicate with the emulated CPU via I/O requests.

DeserializeDynDevice

This trait needs to be implemented by a type provided to DynamicSerdeBus as a parameter S, to deserialize dynamic devices.

NamedBusDevice

A trait for dynamic bus devices, which currently includes methods from Display and BusDevice. Devices implementing this trait can be used with a DynamicBus.

PortAddress

A helper trait for matching I/O port addresses.

SerializeDynDevice

This trait needs to be implemented by a type provided to DynamicSerdeBus as a parameter S, to serialize dynamic devices.

Type Definitions

BoxNamedDynDevice

A type of a boxed dynamic NamedBusDevice.

DynamicSerdeVBus

A terminated DynamicSerdeBus pseudo-device with VFNullDevice<V>.

DynamicVBus

A terminated DynamicBus pseudo-device with VFNullDevice<V>.

NamedDynDevice

A type of a dynamic NamedBusDevice.

VFNullDevice