Package com.diozero.util
Class SystemInfo.UnknownBoardInfo
java.lang.Object
com.diozero.util.BoardPinInfo
com.diozero.util.BoardInfo
com.diozero.util.SystemInfo.UnknownBoardInfo
- Enclosing class:
- SystemInfo
public static final class SystemInfo.UnknownBoardInfo extends BoardInfo
-
Constructor Summary
Constructors Constructor Description UnknownBoardInfo()
-
Method Summary
Modifier and Type Method Description PinInfo
getByAdcNumber(int adcNumber)
PinInfo
getByDacNumber(int dacNumber)
PinInfo
getByGpioNumber(int gpio)
void
initialisePins()
initialisePins is separate to the constructor as a lot of known BoardInfo info instances get created on startup.Methods inherited from class com.diozero.util.BoardInfo
createMmapGpio, getAdcVRef, getCpuTemperature, getI2CBuses, getLibraryPath, getMake, getMemory, getModel, getName, getPwmChip, sameMakeAndModel, toString
Methods inherited from class com.diozero.util.BoardPinInfo
addAdcPinInfo, addAdcPinInfo, addAdcPinInfo, addAdcPinInfo, addDacPinInfo, addDacPinInfo, addDacPinInfo, addDacPinInfo, addDacPinInfo, addGeneralPinInfo, addGeneralPinInfo, addGeneralPinInfo, addGpioPinInfo, addGpioPinInfo, addGpioPinInfo, addGpioPinInfo, addGpioPinInfo, addPwmPinInfo, addPwmPinInfo, addPwmPinInfo, getAdcPins, getByName, getByPwmNumber, getDacPins, getGpioPins, getHeaders, getHeaderValues, mapToSysFsGpioNumber
-
Constructor Details
-
UnknownBoardInfo
public UnknownBoardInfo()
-
-
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.- Specified by:
initialisePins
in classBoardInfo
-
getByGpioNumber
- Overrides:
getByGpioNumber
in classBoardPinInfo
-
getByAdcNumber
- Overrides:
getByAdcNumber
in classBoardPinInfo
-
getByDacNumber
- Overrides:
getByDacNumber
in classBoardPinInfo
-