Main Site Documentation

SPI Modes 0 to 3


#1

Can I have clarification of the spi modes denoted in:

ChipSelectType = SpiChipSelectType.Gpio,
            ChipSelectLine = FEZ.GpioPin.A0,
            Mode = SpiMode.Mode1,
            ClockFrequency = 4 * 1000 * 1000,       //4Mhz
            DataBitLength = 8,
        };

#2

It is explained here https://en.m.wikipedia.org/wiki/Serial_Peripheral_Interface