Skip to main content

Enum Ft232h.SpiConfigOptions

Flags for configuring the SPI communication options.

Assembly: Ft232h.dll
View Source
[Flags]
public enum Ft232h.SpiConfigOptions

Fields

MODE0

SPI Mode 0: CPOL=0, CPHA=0.

View Source
MODE0 = 0

MODE1

SPI Mode 1: CPOL=0, CPHA=1.

View Source
MODE1 = 1

MODE2

SPI Mode 2: CPOL=1, CPHA=0.

View Source
MODE2 = 2

MODE3

SPI Mode 3: CPOL=1, CPHA=1.

View Source
MODE3 = MODE1 | MODE2

CS_DBUS3

Chip Select on D3.

View Source
CS_DBUS3 = 0

CS_DBUS4

Chip Select on D4.

View Source
CS_DBUS4 = 4

CS_DBUS5

Chip Select on D5.

View Source
CS_DBUS5 = 8

CS_DBUS6

Chip Select on D6.

View Source
CS_DBUS6 = CS_DBUS4 | CS_DBUS5

CS_DBUS7

Chip Select on D7.

View Source
CS_DBUS7 = 16

CS_ACTIVEHIGH

Chip Select active high.

View Source
CS_ACTIVEHIGH = 0

CS_ACTIVELOW

Chip Select active low.

View Source
CS_ACTIVELOW = 32