pub fn from_spi(
        displays: usize,
        spi: SPI,
        blank_pin: BLANK,
        xerr_pin: XERR,
    ) -> Result<Self> {
        TLC5940::new(SpiConnector::new(displays, spi), blank_pin, xerr_pin)
    }
///
/// Construct a new MAX7219 driver instance from pre-existing SPI in full hardware mode.
/// The SPI will control CS (LOAD) line according to it's internal mode set.
/// If you need the CS line to be controlled manually use MAX7219::from_spi_cs
///
/// * `NOTE` - make sure the SPI is initialized in MODE_0 with max 10 Mhz frequency.
///
/// # Arguments
///
/// * `displays` - number of displays connected in series
/// * `spi` - the SPI interface initialized with MOSI, MISO(unused) and CLK
///
/// # Errors
///
/// * `DataError` - returned in case there was an error during data transfer
///
Construct a new MAX7219 driver instance from pre-existing SPI in full hardware mode.
The SPI will control CS (LOAD) line according to it's internal mode set.
If you need the CS line to be controlled manually use MAX7219::from_spi_cs

`NOTE` - make sure the SPI is initialized in MODE_0 with max 10 Mhz frequency.
Construct a new MAX7219 driver instance from pre - existing SPI in full hardware mode . The SPI will control CS ( LOAD ) line according to it ' s internal mode set . If you need the CS line to be controlled manually use MAX7219 :: from_spi_cs ` NOTE ` - make sure the SPI is initialized in MODE_0 with max 10 Mhz frequency .
pub fn from_spi(
        displays: usize,
        spi: SPI,
        blank_pin: BLANK,
        xerr_pin: XERR,
    ) -> Result<Self> {
        TLC5940::new(SpiConnector::new(displays, spi), blank_pin, xerr_pin)
    }
pub fn from_spi ( displays : usize , spi : SPI , blank_pin : BLANK , xerr_pin : XERR , ) -> Result < Self > { TLC5940 :: new ( SpiConnector :: new ( displays , spi ) , blank_pin , xerr_pin ) }
Construct a new MAX7219 driver instance from pre-existing SPI in full hardware mode.
Construct a new MAX7219 driver instance from pre - existing SPI in full hardware mode .
displays
usize
spi
SPI
blank_pin
BLANK
xerr_pin
XERR
displays
usize
spi
SPI
blank_pin
BLANK
xerr_pin
XERR
errors
`DataError` - returned in case there was an error during data transfer
` DataError ` - returned in case there was an error during data transfer