pub fn new(spi: SPI, mut select: Option<CS>) -> Self {
        // If a select pin was provided, disable the controller for now
        if let Some(ref mut x) = select {
            x.set_high();
        }

        Self {
            dev: spi,
            select,
            multitap_port: MultitapPort::A,
        }
    }
/// Create a new device to talk over the PlayStation's controller
/// port
Create a new device to talk over the PlayStation's controller
port
Create a new device to talk over the PlayStation ' s controller port
pub fn new(spi: SPI, mut select: Option<CS>) -> Self {
        // If a select pin was provided, disable the controller for now
        if let Some(ref mut x) = select {
            x.set_high();
        }
        Self {
            dev: spi,
            select,
            multitap_port: MultitapPort::A,
        }
    }
pub fn new ( spi : SPI , mut select : Option < CS > ) -> Self { // If a select pin was provided, disable the controller for now if let Some ( ref mut x ) = select { x . set_high ( ) ; } Self { dev : spi , select , multitap_port : MultitapPort :: A , } }
Create a new device to talk over the PlayStation's controller
port
Create a new device to talk over the PlayStation ' s controller port
spi
SPI
select
Option<CS>
spi
SPI
select
Option<CS>