SpiNetworkCommunicationInterfaceSettings Class
Namespace: GHIElectronics.TinyCLR.Devices.Network · Assembly: GHIElectronics.TinyCLR.Devices.Network
Settings for an external SPI-attached network controller (chip select, reset, interrupt pins, SPI mode).
public class SpiNetworkCommunicationInterfaceSettings : NetworkCommunicationInterfaceSettings
Properties
SpiApiName
public string SpiApiName { get; set; }
Native API name of the SPI controller to use.
SpiSettings
public SpiConnectionSettings SpiSettings { get; set; }
SPI clock and mode settings.
GpioApiName
public string GpioApiName { get; set; }
Native API name of the GPIO controller owning the reset/interrupt pins.
ResetPin
public GpioPin ResetPin { get; set; }
Pin used to reset the external controller.
ResetActiveState
public GpioPinValue ResetActiveState { get; set; }
Level that drives the chip into reset.
InterruptPin
public GpioPin InterruptPin { get; set; }
Pin the external controller uses to signal interrupts.
InterruptEdge
public GpioPinEdge InterruptEdge { get; set; }
Edge of the interrupt signal that fires an event.
InterruptDriveMode
public GpioPinDriveMode InterruptDriveMode { get; set; }
Drive mode applied to the interrupt pin.