Class OdroidBoardInfoProvider.OdroidC2BoardInfo

    • Method Detail

      • 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