Class RaspberryPiBoardInfoProvider.PiComputeModuleBoardInfo
java.lang.Object
com.diozero.util.BoardPinInfo
com.diozero.util.BoardInfo
com.diozero.internal.board.UnknownBoardInfo
com.diozero.internal.board.GenericLinuxArmBoardInfo
com.diozero.internal.board.raspberrypi.RaspberryPiBoardInfoProvider.PiComputeModuleBoardInfo
- Enclosing class:
- RaspberryPiBoardInfoProvider
public static class RaspberryPiBoardInfoProvider.PiComputeModuleBoardInfo extends GenericLinuxArmBoardInfo
-
Field Summary
Fields inherited from class com.diozero.util.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 PiComputeModuleBoardInfo(String code, int memory, String manufacturer, String processor)
-
Method Summary
Modifier and Type Method Description MmapGpioInterface
createMmapGpio()
String
getManufacturer()
String
getProcessor()
String
getRevision()
void
initialisePins()
initialisePins is separate to the constructor as a lot of known BoardInfo info instances get created on startup.String
toString()
Methods inherited from class com.diozero.internal.board.UnknownBoardInfo
get, getByAdcNumber, getByDacNumber, getByGpioNumber
Methods inherited from class com.diozero.util.BoardInfo
getAdcVRef, getCpuTemperature, getI2CBuses, getLibraryPath, getMake, getMemory, getModel, getName, getPwmChip, sameMakeAndModel
Methods inherited from class com.diozero.util.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, getByChipAndLineOffset, getByName, getByPwmNumber, getDacPins, getGpioPins, getGpios, getHeaders, getHeaderValues, mapToSysFsGpioNumber
-
Constructor Details
-
PiComputeModuleBoardInfo
-
-
Method Details
-
initialisePins
public void initialisePins()Description copied from class:BoardInfo
initialisePins is separate to the constructor as a lot of known BoardInfo info instances get created on startup.- Overrides:
initialisePins
in classGenericLinuxArmBoardInfo
-
getRevision
-
getManufacturer
-
getProcessor
-
createMmapGpio
- Overrides:
createMmapGpio
in classBoardInfo
-
toString
-