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
COMPUTE_MODULE_4
static String
MAKE
static String
MODEL_2B
static String
MODEL_3A_PLUS
static String
MODEL_3B
static String
MODEL_3B_PLUS
static String
MODEL_400
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
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description BoardInfo
lookup(LocalSystemInfo systemInfo)
static BoardInfo
lookupByRevision(String revision)
-
-
-
Field Detail
-
MAKE
public static final String MAKE
- See Also:
- Constant Field Values
-
MODEL_A
public static final String MODEL_A
- See Also:
- Constant Field Values
-
MODEL_B
public static final String MODEL_B
- See Also:
- Constant Field Values
-
MODEL_A_PLUS
public static final String MODEL_A_PLUS
- See Also:
- Constant Field Values
-
MODEL_B_PLUS
public static final String MODEL_B_PLUS
- See Also:
- Constant Field Values
-
MODEL_2B
public static final String MODEL_2B
- See Also:
- Constant Field Values
-
MODEL_ALPHA
public static final String MODEL_ALPHA
- See Also:
- Constant Field Values
-
COMPUTE_MODULE
public static final String COMPUTE_MODULE
- See Also:
- Constant Field Values
-
MODEL_3B
public static final String MODEL_3B
- See Also:
- Constant Field Values
-
MODEL_ZERO
public static final String MODEL_ZERO
- See Also:
- Constant Field Values
-
COMPUTE_MODULE_3
public static final String COMPUTE_MODULE_3
- See Also:
- Constant Field Values
-
MODEL_ZERO_W
public static final String MODEL_ZERO_W
- See Also:
- Constant Field Values
-
MODEL_3B_PLUS
public static final String MODEL_3B_PLUS
- See Also:
- Constant Field Values
-
MODEL_3A_PLUS
public static final String MODEL_3A_PLUS
- See Also:
- Constant Field Values
-
COMPUTE_MODULE_3_PLUS
public static final String COMPUTE_MODULE_3_PLUS
- See Also:
- Constant Field Values
-
MODEL_4B
public static final String MODEL_4B
- See Also:
- Constant Field Values
-
MODEL_400
public static final String MODEL_400
- See Also:
- Constant Field Values
-
COMPUTE_MODULE_4
public static final String COMPUTE_MODULE_4
- See Also:
- Constant Field Values
-
-
Method Detail
-
lookup
public BoardInfo lookup(LocalSystemInfo systemInfo)
- Specified by:
lookup
in interfaceBoardInfoProvider
-
-