using System; namespace Unosquare.RaspberryIO.Abstractions { /// /// Interfaces a SPI Bus containing the 2 SPI channels. /// public interface ISpiBus { /// /// Gets the default frequency. /// /// /// The default frequency. /// Int32 DefaultFrequency { get; } /// /// Gets or sets the channel 0 frequency in Hz. /// /// /// The channel0 frequency. /// Int32 Channel0Frequency { get; set; } /// /// Gets or sets the channel 1 frequency in Hz. /// /// /// The channel1 frequency. /// Int32 Channel1Frequency { get; set; } /// /// Gets the SPI bus on channel 0. /// /// /// The channel0. /// ISpiChannel Channel0 { get; } /// /// Gets the SPI bus on channel 1. /// /// /// The channel0. /// ISpiChannel Channel1 { get; } } }