Class TinkerBoardBoardInfoProvider.TinkerBoardBoardInfo

java.lang.Object
com.diozero.sbc.BoardPinInfo
com.diozero.sbc.BoardInfo
com.diozero.internal.board.GenericLinuxArmBoardInfo
com.diozero.internal.board.tinkerboard.TinkerBoardBoardInfoProvider.TinkerBoardBoardInfo
Enclosing class:
TinkerBoardBoardInfoProvider

public static class TinkerBoardBoardInfoProvider.TinkerBoardBoardInfo
extends GenericLinuxArmBoardInfo
  • Field Details

  • Method Details

    • getPwmChip

      public int getPwmChip​(int pwmNum)
      Description copied from class: BoardInfo
      Get the PWM chip for the specified PWM number. Only actually relevant for sysfs PWM control on the BeagleBone Black.
      Overrides:
      getPwmChip in class BoardInfo
      Parameters:
      pwmNum - The sysfs PWM channel number
      Returns:
      The PWM chip number for the requested PWM channel number, -1 if not found / not relevant
    • 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