[−][src]Trait spectrusty::peripherals::bus::ay::AyIoPort
This trait should be implemented by emulators of devices attached to one of two Ay3_891xIo I/O ports.
Associated Types
Loading content...Provided methods
pub fn ay_io_reset(&mut self, _timestamp: Self::Timestamp)
[src]
Resets the device at the given timestamp
.
pub fn ay_io_write(
&mut self,
_addr: u16,
_data: u8,
_timestamp: Self::Timestamp
)
[src]
&mut self,
_addr: u16,
_data: u8,
_timestamp: Self::Timestamp
)
Writes data to the device at the given timestamp
.
pub fn ay_io_read(&mut self, _addr: u16, _timestamp: Self::Timestamp) -> u8
[src]
Reads data from the device at the given timestamp
.
pub fn end_frame(&mut self, _timestamp: Self::Timestamp)
[src]
Signals the device when the current frame ends, providing the value of the cycle clock after the frame execution stopped.
Implementors
impl<S1, S2> AyIoPort for SerialPorts128<S1, S2> where
S1: SerialPortDevice,
S2: SerialPortDevice<Timestamp = <S1 as SerialPortDevice>::Timestamp>,
<S1 as SerialPortDevice>::Timestamp: Copy,
[src]
S1: SerialPortDevice,
S2: SerialPortDevice<Timestamp = <S1 as SerialPortDevice>::Timestamp>,
<S1 as SerialPortDevice>::Timestamp: Copy,
type Timestamp = <S1 as SerialPortDevice>::Timestamp
pub fn ay_io_reset(
&mut self,
_timestamp: <SerialPorts128<S1, S2> as AyIoPort>::Timestamp
)
[src]
&mut self,
_timestamp: <SerialPorts128<S1, S2> as AyIoPort>::Timestamp
)
pub fn ay_io_write(
&mut self,
_addr: u16,
data: u8,
timestamp: <SerialPorts128<S1, S2> as AyIoPort>::Timestamp
)
[src]
&mut self,
_addr: u16,
data: u8,
timestamp: <SerialPorts128<S1, S2> as AyIoPort>::Timestamp
)
pub fn ay_io_read(
&mut self,
_addr: u16,
timestamp: <SerialPorts128<S1, S2> as AyIoPort>::Timestamp
) -> u8
[src]
&mut self,
_addr: u16,
timestamp: <SerialPorts128<S1, S2> as AyIoPort>::Timestamp
) -> u8
pub fn end_frame(
&mut self,
timestamp: <SerialPorts128<S1, S2> as AyIoPort>::Timestamp
)
[src]
&mut self,
timestamp: <SerialPorts128<S1, S2> as AyIoPort>::Timestamp
)