BitBangSpiConfig Class |
Namespace: FX3Api
The BitBangSpiConfig type exposes the following members.
Name | Description | |
---|---|---|
![]() | BitBangSpiConfig |
Constructor which lets you specify set of default pins to use as bit bang SPI pins
|
Name | Description | |
---|---|---|
![]() | Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) |
![]() | Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) |
![]() | GetHashCode | Serves as the default hash function. (Inherited from Object.) |
![]() | GetParameterArray |
Get a parameters array for the current bit bang SPI configuration
|
![]() | GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() | MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
![]() | ToString | Returns a string that represents the current object. (Inherited from Object.) |
Name | Description | |
---|---|---|
![]() | CPHA |
Bit bang SPI clock phase. If set to false (0) data is sampled
on the clock active to inactive edge, and updated on the inactive to active
edge. If set to true (1), data is updated on the clock
active to inactive transition, and data is sampled on the inactive to
active edge. The CPHA/CPOL settings used are based on this diagram:
https://en.wikipedia.org/wiki/Serial_Peripheral_Interface#/media/File:SPI_timing_diagram2.svg
|
![]() | CPOL |
Bit bang SPI clock polarity. True (1) is idle high, False (0) is
idle low.
|
![]() | CS |
Chip select pin for bit bang SPI
|
![]() | CSLagTicks |
Number of timer ticks from last sclk edge to CS rising edge
|
![]() | CSLeadTicks |
Number of timer ticks from CS falling edge to first sclk edge
|
![]() | MISO |
MISO (master is, slave out) pin for bit bang SPI
|
![]() | MOSI |
MOSI (master out, slave in) pin for bit bang SPI
|
![]() | SCLK |
SCLK pin for bit bang SPI
|
![]() | SCLKHalfPeriodTicks |
Half SCLK period timer ticks
|
![]() | StallTicks |
Stall time timer ticks
|