Class GpioChip

    • Field Detail

      • GPIOEVENT_EVENT_RISING_EDGE

        public static final int GPIOEVENT_EVENT_RISING_EDGE
        See Also:
        Constant Field Values
      • GPIOEVENT_EVENT_FALLING_EDGE

        public static final int GPIOEVENT_EVENT_FALLING_EDGE
        See Also:
        Constant Field Values
    • Method Detail

      • openChip

        public static GpioChip openChip​(int chipNum)
      • openChip

        public static GpioChip openChip​(String chipDeviceFile)
      • getChipId

        public int getChipId()
      • getLineOffset

        public int getLineOffset()
      • getLines

        public GpioLine[] getLines()
      • provisionGpioOutputDevice

        public GpioLine provisionGpioOutputDevice​(int offset,
                                                  int initialValue)
      • deregister

        public void deregister​(int fd)
      • event

        public void event​(int fd,
                          int eventDataId,
                          long epochTimeMs,
                          long timestampNanos)
        Specified by:
        event in interface GpioLineEventListener
      • eventNotUsed

        public void eventNotUsed​(int fd,
                                 int eventDataId,
                                 long epochTimeMs,
                                 long timestampNanos)