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

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)

Implementors