Share via


SPI.Configuration Members

The following tables list the members exposed by the SPI.Configuration type.

Public Constructors

Name Description
Public Method SPI.Configuration Initializes a new instance of the Configuration class for a SPI interface.

Public Fields

Name Description
Public Field ChipSelect_ActiveState The active state for the chip select port. If true, the chip select port will be set to high when accessing the chip; if false, the chip select port will be set to low when accessing the chip.
Public Field ChipSelect_HoldTime The hold time for the chip select port. In other words, this parameter specifies the amount of time that the chip select port must remain in the active state before the device is unselected, or the amount of time that the chip select will remain in the active state after the data read/write transaction has been completed.
Public Field ChipSelect_Port The chip select port.
Public Field ChipSelect_SetupTime The setup time for the chip select port, in milliseconds.
Public Field Clock_Edge The sampling clock edge. If true, data is sampled on the SPI clock rising edge; if false, the data is sampled on the SPI clock falling edge.
Public Field Clock_IdleState The idle state of the clock. If true, the SPI clock signal will be set to high while the device is idle; if false, the SPI clock signal will be set to low while the device is idle. The idle state occurs whenever the chip is not selected.
Public Field Clock_RateKHz The SPI clock rate in kilohertz.
Public Field SPI_mod Selects the SPI bus for the transaction.

Public Methods

Name Description
Public Method Equals (Inherited from Object.)
Public Method GetHashCode (Inherited from Object.)
Public Method GetType (Inherited from Object.)
Public Method ReferenceEquals (Inherited from Object.)
Public Method ToString (Inherited from Object.)

Protected Methods

Name Description
Protected Method Finalize (Inherited from Object.)
Protected Method MemberwiseClone (Inherited from Object.)

See Also

Reference

SPI.Configuration Class
Microsoft.SPOT.Hardware Namespace