using System; using System.Collections.Generic; namespace Unosquare.RaspberryIO.Abstractions { /// /// Interface for Raspberry Pi GPIO controller. /// /// public interface IGpioController : IReadOnlyCollection { /// /// Gets the with the specified BCM pin. /// /// /// The . /// /// The BCM pin number. /// A reference to the GPIO pin. IGpioPin this[Int32 bcmPinNumber] { get; } /// /// Gets the with the specified BCM pin. /// /// /// The . /// /// The BCM pin. /// A reference to the GPIO pin. IGpioPin this[BcmPin bcmPin] { get; } /// /// Gets the with the specified pin number. /// /// /// The . /// /// The pin number in header P1. /// A reference to the GPIO pin. IGpioPin this[P1 pinNumber] { get; } /// /// Gets the with the specified pin number. /// /// /// The . /// /// The pin number in header P5. /// A reference to the GPIO pin. IGpioPin this[P5 pinNumber] { get; } } }