Class OdroidBoardInfoProvider.OdroidC1BoardInfo
- java.lang.Object
-
- com.diozero.sbc.BoardPinInfo
-
- com.diozero.sbc.BoardInfo
-
- com.diozero.internal.board.GenericLinuxArmBoardInfo
-
- com.diozero.internal.board.odroid.OdroidBoardInfoProvider.OdroidC1BoardInfo
-
- Enclosing class:
- OdroidBoardInfoProvider
public static class OdroidBoardInfoProvider.OdroidC1BoardInfo extends GenericLinuxArmBoardInfo
-
-
Field Summary
-
Fields inherited from class com.diozero.sbc.BoardInfo
UNKNOWN, UNKNOWN_ADC_VREF
-
Fields inherited from class com.diozero.sbc.BoardPinInfo
ADC_KEY_PREFIX, DAC_KEY_PREFIX, DEFAULT_ADC_NAME_PREFIX, DEFAULT_DAC_NAME_PREFIX, DEFAULT_GPIO_NAME_PREFIX, GPIO_KEY_PREFIX
-
-
Constructor Summary
Constructors Constructor Description OdroidC1BoardInfo()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getPwmChip(int pwmNum)
Get the PWM chip for the specified PWM number.-
Methods inherited from class com.diozero.internal.board.GenericLinuxArmBoardInfo
loadBoardPinInfoDefinition, populateBoardPinInfo
-
Methods inherited from class com.diozero.sbc.BoardInfo
compareMakeAndModel, createMmapGpio, getAdcVRef, getCpuTemperature, getI2CBusNumbers, getLibraryPath, getLongName, getMake, getMemoryKb, getModel, getName, toString
-
Methods inherited from class com.diozero.sbc.BoardPinInfo
addAdcPinInfo, addAdcPinInfo, addAdcPinInfo, addAdcPinInfo, addDacPinInfo, addDacPinInfo, addDacPinInfo, addDacPinInfo, addDacPinInfo, addGeneralPinInfo, addGeneralPinInfo, addGeneralPinInfo, addGeneralPinInfo, addGeneralPinInfo, addGpioPinInfo, addGpioPinInfo, addGpioPinInfo, addGpioPinInfo, addGpioPinInfo, addGpioPinInfo, addGpioPinInfo, addPwmPinInfo, addPwmPinInfo, addPwmPinInfo, addPwmPinInfo, addPwmPinInfo, getAdcPins, getByAdcNumber, getByAdcNumberOrThrow, getByChipAndLineOffset, getByChipAndLineOffsetOrThrow, getByDacNumber, getByDacNumberOrThrow, getByGpioNumber, getByGpioNumberOrThrow, getByName, getByPhysicalPin, getByPhysicalPinOrThrow, getByPwmNumber, getByPwmNumberOrThrow, getByPwmOrGpioNumber, getByPwmOrGpioNumberOrThrow, getDacPins, getGpioPins, getGpios, getHeaderNames, getHeaders, getHeaderValues, mapToSysFsGpioNumber
-
-
-
-
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 classBoardInfo
- Parameters:
pwmNum
- The sysfs PWM channel number- Returns:
- The PWM chip number for the requested PWM channel number, -1 if not found / not relevant
-
-