Class RaspberryPiBoardInfoProvider.PiComputeModuleBoardInfo

java.lang.Object
com.diozero.sbc.BoardPinInfo
com.diozero.sbc.BoardInfo
com.diozero.internal.board.GenericLinuxArmBoardInfo
com.diozero.internal.board.raspberrypi.RaspberryPiBoardInfoProvider.PiComputeModuleBoardInfo
Enclosing class:
RaspberryPiBoardInfoProvider

public static class RaspberryPiBoardInfoProvider.PiComputeModuleBoardInfo
extends GenericLinuxArmBoardInfo
  • Constructor Details

    • PiComputeModuleBoardInfo

      public PiComputeModuleBoardInfo​(String code, int memory, String manufacturer, String processor)
  • Method Details

    • populateBoardPinInfo

      public void populateBoardPinInfo()
      Description copied from class: BoardInfo
      Pin initialisation is done separately to the constructor since all known BoardInfo instances get instantiated on startup by the Java ServiceLoader.
    • getCode

      public String getCode()
    • getRevision

      public String getRevision()
    • getManufacturer

      public String getManufacturer()
    • getProcessor

      public String getProcessor()
    • createMmapGpio

      public MmapGpioInterface createMmapGpio()
      Description copied from class: BoardInfo
      Instantiate the memory mapped GPIO interface for this board. Not that the caller needs to call initialise prior to use.
      Overrides:
      createMmapGpio in class BoardInfo
      Returns:
      the MMAP GPIO interface implementation for this board, null if there isn't one
    • getLongName

      public String getLongName()
      Overrides:
      getLongName in class BoardInfo