Class RaspberryPiMmapGpio

java.lang.Object
com.diozero.internal.board.raspberrypi.RaspberryPiMmapGpio
All Implemented Interfaces:
MmapGpioInterface, java.io.Closeable, java.lang.AutoCloseable

public class RaspberryPiMmapGpio
extends java.lang.Object
implements MmapGpioInterface
  • Constructor Summary

    Constructors 
    Constructor Description
    RaspberryPiMmapGpio()  
  • Method Summary

    Modifier and Type Method Description
    void close()  
    DeviceMode getMode​(int gpio)
    Returns the function of a GPIO: 0=input, 1=output, 4=alt0
    boolean gpioRead​(int gpio)  
    void gpioWrite​(int gpio, boolean value)  
    void initialise()  
    void setMode​(int gpio, DeviceMode mode)  
    void setPullUpDown​(int gpio, GpioPullUpDown pud)  

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait