pub fn new(device: SPI, nss: NSS) -> SPIInterface<SPI, NSS> {
        let mut result = SPIInterface {
            device: device,
            nss: nss,
        };

        infallible(result.nss.set_high());
        result
    }
/// Create a new digital interface based on a SPI device and a
/// notSlaveSelect OutputPin.
Create a new digital interface based on a SPI device and a
notSlaveSelect OutputPin.
Create a new digital interface based on a SPI device and a notSlaveSelect OutputPin .
pub fn new(device: SPI, nss: NSS) -> SPIInterface<SPI, NSS> {
        let mut result = SPIInterface {
            device: device,
            nss: nss,
        };
        infallible(result.nss.set_high());
        result
    }
pub fn new ( device : SPI , nss : NSS ) -> SPIInterface < SPI , NSS > { let mut result = SPIInterface { device : device , nss : nss , } ; infallible ( result . nss . set_high ( ) ) ; result }
Create a new digital interface based on a SPI device and a
notSlaveSelect OutputPin.
Create a new digital interface based on a SPI device and a notSlaveSelect OutputPin .
device
SPI
nss
NSS
device
SPI
nss
NSS