Unosquare
    Show / Hide Table of Contents

    Namespace Unosquare.PiGpio.NativeEnums

    Enums

    AllocationMode

    Enumerates the different memory allocation mode.

    BitMask

    Provides an enumeration of a 32-bit mask.

    BoardType

    Enumerates the different Raspberry Pi board types.

    ConfigFlags

    Enumerates the different configuration flags.

    CpuPeripheral

    Defines the 2 different CPU peripherals for DMA.

    DigitalValue

    Enumerates the digital values. Equivalent to True and False.

    DmaChannel

    Enumerates the different DMA channels.

    EdgeDetection

    Defines the edge detection strategies.

    FileModeFlags

    Enumerates the different file acces modes.

    GpioPadId

    Enumerates the GPIO (electrical) Pads 0 @ 0-27 1 @ 28-45 2 @ 46-53.

    GpioPadStrength

    Enumerates the different Pad Strengths in milli Amperes.

    GpioPullMode

    Input GPIOS have pull-up, pull-down or no resistors. This enumeration defines the different resistor pull modes.

    I2cBusId

    The Pi has 2 hardware SPI buses. Bus 0 and Bus 1. Bus 1 is the default one, accessible through the main P1 header.

    I2cQuickMode

    Enumerates the quick modes.

    InterfaceFlags

    Defines flags to enable or disable network interfaces.

    LevelChange

    Enumerates the different change states for edge detection.

    PinDirection

    Enumerates the IO directions. This enumeration is compatible with the PinMode enum.

    PinMode

    Pins can operate in different modes. This enumeration defines the fdifferent operation modes from 0 to 7.

    ResultCode

    Defines the different operation result codes from calling pigpio API. 0 is OK. Anything negative is an error.

    SeekMode

    Defines the different file seek modes.

    SoftSpiFlags

    Defines the Software-based SPI flags.

    SpiChannelId

    Enumerates the different SPI Channels.

    SpiFlags

    SPI Open Flags.

    SystemGpio

    Provides an enumeration of System GPIOs from 0 to 53. User GPIOs are from 0 to 31 (some of them are reserved depending on hardware). All chip GPIOs go from 0 to 53. It is safe to read all of them but writing to some of them might crash the hardware and corrupt the SD card. So use documetned ones only.

    TimerId

    The Pi can register up to 10 hardware timers. This lists all 10 hardware timers from 0 to 9.

    TimeType

    Time Type enumeration.

    UartRate

    Defines the valid UART rates.

    UserGpio

    Provides an enumeration of User GPIOs from 0 to 31. Do not use undocumented pin numbers because they might be reserved or crash the hardware and corrupt the SD card.

    WaveMode

    Enumerates the different wave modes.

    Comments

    Back to top Copyright © 2017-2019 Unosquare