SpiDevice Members

The following tables list the members exposed by the SpiDevice type.

Public Constructors

Name Description
Public Method SpiDevice Overloaded. Initializes a new instance of the SpiDevice class.

Protected Fields

Name Description
Protected Field _chipSelectActiveState Specifies the active state of the chip select port.
Protected Field _chipSelectHoldTime Specifies the hold time for the chip select port, in milliseconds.
Protected Field _chipSelectSetupTime Specifies the setup time for the chip select port, in milliseconds.
Protected Field _clockEdge Specifies the sampling clock edge for the SPI device.
Protected Field _clockIdleState Specifies the idle state of the SPI device's clock.
Protected Field _clockRate Specifies the SPI clock rate in terms of a divisor.

Public Properties

Name Description
Public Property ChipSelectActiveState Gets or sets the active state of the chip select port.
Public Property ChipSelectHoldTime Gets or sets the hold time for the chip select port, in milliseconds.
Public Property ChipSelectSetupTime Gets or sets the setup time for the chip select port, in milliseconds.
Public Property ClockEdge Gets or sets the sampling clock edge for the SPI device.
Public Property ClockIdleState Gets or sets the idle state of the SPI device's clock.
Public Property ClockRate Gets or sets the SPI device's clock rate.
Public Property Configuration Gets the SPI device's configuration.
Public Property Pin Gets or sets the pin on which the SPI device operates.

Public Methods

Name Description
Public Method IsReplaceableBy Determines whether a particular SPI device can be replaced by a specified emulator component.
Public Method Write Overloaded. Writes data to a SPI device.

See Also

Reference

SpiDevice Class
Microsoft.SPOT.Emulator.Spi Namespace