Class RaspberryPiBoardInfoProvider
java.lang.Object
com.diozero.internal.board.raspberrypi.RaspberryPiBoardInfoProvider
- All Implemented Interfaces:
BoardInfoProvider
public class RaspberryPiBoardInfoProvider extends Object implements BoardInfoProvider
See
this c
library. See also this
table of revisions.
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
RaspberryPiBoardInfoProvider.PiABPlusBoardInfo
static class
RaspberryPiBoardInfoProvider.PiABRev2BoardInfo
static class
RaspberryPiBoardInfoProvider.PiBRev1BoardInfo
static class
RaspberryPiBoardInfoProvider.PiComputeModuleBoardInfo
-
Field Summary
Fields Modifier and Type Field Description static String
COMPUTE_MODULE
static String
COMPUTE_MODULE_3
static String
COMPUTE_MODULE_3_PLUS
static String
MAKE
static String
MODEL_2B
static String
MODEL_3A_PLUS
static String
MODEL_3B
static String
MODEL_3B_PLUS
static String
MODEL_4B
static String
MODEL_A
static String
MODEL_A_PLUS
static String
MODEL_ALPHA
static String
MODEL_B
static String
MODEL_B_PLUS
static String
MODEL_ZERO
static String
MODEL_ZERO_W
-
Constructor Summary
Constructors Constructor Description RaspberryPiBoardInfoProvider()
-
Method Summary
Modifier and Type Method Description BoardInfo
lookup(LocalSystemInfo systemInfo)
static BoardInfo
lookupByRevision(String revision)
-
Field Details
-
MAKE
- See Also:
- Constant Field Values
-
MODEL_A
- See Also:
- Constant Field Values
-
MODEL_B
- See Also:
- Constant Field Values
-
MODEL_A_PLUS
- See Also:
- Constant Field Values
-
MODEL_B_PLUS
- See Also:
- Constant Field Values
-
MODEL_2B
- See Also:
- Constant Field Values
-
MODEL_ALPHA
- See Also:
- Constant Field Values
-
COMPUTE_MODULE
- See Also:
- Constant Field Values
-
MODEL_3B
- See Also:
- Constant Field Values
-
MODEL_3B_PLUS
- See Also:
- Constant Field Values
-
MODEL_3A_PLUS
- See Also:
- Constant Field Values
-
MODEL_4B
- See Also:
- Constant Field Values
-
MODEL_ZERO
- See Also:
- Constant Field Values
-
COMPUTE_MODULE_3
- See Also:
- Constant Field Values
-
COMPUTE_MODULE_3_PLUS
- See Also:
- Constant Field Values
-
MODEL_ZERO_W
- See Also:
- Constant Field Values
-
-
Constructor Details
-
RaspberryPiBoardInfoProvider
public RaspberryPiBoardInfoProvider()
-
-
Method Details
-
lookup
- Specified by:
lookup
in interfaceBoardInfoProvider
-
lookupByRevision
-