Class RaspberryPiBoardInfoProvider.PiBRev1BoardInfo
java.lang.Object
com.diozero.sbc.BoardPinInfo
com.diozero.sbc.BoardInfo
com.diozero.internal.board.GenericLinuxArmBoardInfo
com.diozero.internal.board.raspberrypi.RaspberryPiBoardInfoProvider.PiBRev1BoardInfo
- Enclosing class:
- RaspberryPiBoardInfoProvider
public static class RaspberryPiBoardInfoProvider.PiBRev1BoardInfo 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 PiBRev1BoardInfo(String code, String pcbRevision, int memory, String manufacturer)
-
Method Summary
Modifier and Type Method Description MmapGpioInterface
createMmapGpio()
Instantiate the memory mapped GPIO interface for this board.String
getCode()
String
getLongName()
String
getManufacturer()
String
getProcessor()
String
getRevision()
void
populateBoardPinInfo()
Pin initialisation is done separately to the constructor since all known BoardInfo instances get instantiated on startup by the Java ServiceLoader.Methods inherited from class com.diozero.internal.board.GenericLinuxArmBoardInfo
loadBoardPinInfoDefinition
Methods inherited from class com.diozero.sbc.BoardInfo
compareMakeAndModel, getAdcVRef, getCpuTemperature, getI2CBusNumbers, getLibraryPath, getMake, getMemoryKb, getModel, getName, getPwmChip, 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, getByDacNumber, getByDacNumberOrThrow, getByGpioNumber, getByGpioNumberOrThrow, getByName, getByPwmNumber, getByPwmNumberOrThrow, getByPwmOrGpioNumber, getByPwmOrGpioNumberOrThrow, getDacPins, getGpioPins, getGpios, getHeaders, getHeaderValues, mapToSysFsGpioNumber
-
Constructor Details
-
PiBRev1BoardInfo
-
-
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
-
getRevision
-
getManufacturer
-
getProcessor
-
createMmapGpio
Description copied from class:BoardInfo
Instantiate the memory mapped GPIO interface for this board. Not that the caller needs to callinitialise
prior to use.- Overrides:
createMmapGpio
in classBoardInfo
- Returns:
- the MMAP GPIO interface implementation for this board, null if there isn't one
-
getLongName
- Overrides:
getLongName
in classBoardInfo
-