Unosquare
    Show / Hide Table of Contents

    Class Board

    Represents the Raspberry Pi Board and provides access to all GPIO initialization and functionality.

    Inheritance
    Object
    Board
    Inherited Members
    Object.ToString()
    Object.Equals(Object)
    Object.Equals(Object, Object)
    Object.ReferenceEquals(Object, Object)
    Object.GetHashCode()
    Object.GetType()
    Object.MemberwiseClone()
    Namespace: Unosquare.PiGpio
    Syntax
    public static class Board

    Properties

    BankA

    Provides access to GPIO bank 1 (or A) consisting of GPIO 0 to 31.

    Declaration
    public static GpioBank BankA { get; }
    Property Value
    Type Description
    GpioBank

    BankB

    Provides access to GPIO bank 2 (or B) consisting of GPIO 32 to 53.

    Declaration
    public static GpioBank BankB { get; }
    Property Value
    Type Description
    GpioBank

    BoardType

    Gets the type of the board. See the BoardType enumeration.

    Declaration
    public static BoardType BoardType { get; }
    Property Value
    Type Description
    BoardType

    GpioPads

    Provides access to the electrical pads.

    Declaration
    public static GpioPadCollection GpioPads { get; }
    Property Value
    Type Description
    GpioPadCollection

    HardwareRevision

    Gets the hardware revision number.

    Declaration
    public static long HardwareRevision { get; }
    Property Value
    Type Description
    Int64

    IsAvailable

    Gets a value indicating whether the board has been initialized.

    Declaration
    public static bool IsAvailable { get; }
    Property Value
    Type Description
    Boolean

    LibraryVersion

    Gets the library version number.

    Declaration
    public static long LibraryVersion { get; }
    Property Value
    Type Description
    Int64

    Peripherals

    Provides peripheral communication buses available to the board.

    Declaration
    public static BoardPeripheralsService Peripherals { get; }
    Property Value
    Type Description
    BoardPeripheralsService

    Pins

    Provides access to the pin collection.

    Declaration
    public static GpioPinCollection Pins { get; }
    Property Value
    Type Description
    GpioPinCollection

    Timing

    Provides timing and date functions.

    Declaration
    public static BoardTimingService Timing { get; }
    Property Value
    Type Description
    BoardTimingService

    Waves

    Provides a service to build and send waveforms with precisions of a few microseconds ~5us per pulse.

    Declaration
    public static BoardWaveService Waves { get; }
    Property Value
    Type Description
    BoardWaveService

    Methods

    Release()

    Releases board resources.

    Declaration
    public static void Release()

    Comments

    Back to top Copyright © 2017-2019 Unosquare