Trait mizu_core::SerialDevice
source · [−]pub trait SerialDevice {
fn exchange_bit_external_clock(&mut self, bit: bool) -> bool;
}
Expand description
A GameBoy
custom serial device, which can be used to communicate
between the GameBoy and any other device.
Check Printer
for a sample implementation of the
GameBoy printer device.
Required Methods
fn exchange_bit_external_clock(&mut self, bit: bool) -> bool
fn exchange_bit_external_clock(&mut self, bit: bool) -> bool
A device implemnts this, when receiving a call from this function will
send a bit (return) and get a bit from the sender (bit
argument)