![]() |
PIDUINO
|
#include <system.h>
Classes | |
union | BoardInfo |
struct | BoardInfoField |
Public Types | |
enum | BoardType { RpiA = 0x00 , RpiB = 0x01 , RpiAPlus = 0x02 , RpiBPlus = 0x03 , Rpi2B = 0x04 , RpiAlpha = 0x05 , RpiCM1 = 0x06 , Rpi3B = 0x08 , RpiZero = 0x09 , RpiCM3 = 0x0a , RpiZeroW = 0x0c , Rpi3BPlus = 0x0d , Rpi3APlus = 0x0e , RpiInternal = 0x0f , RpiCM3Plus = 0x10 , Rpi4B = 0x11 , RpiZero2W = 0x12 , Rpi400 = 0x13 , RpiCM4 = 0x14 , RpiCM4S = 0x15 , RpiInternal2 = 0x16 , Rpi5 = 0x17 , RpiCM5 = 0x18 , Rpi500 = 0x19 , RpiCM5Lite = 0x1a , RpiUnknown = -1 } |
enum | Processor { BCM2835 = 0x00 , BCM2836 = 0x01 , BCM2837 = 0x02 , BCM2711 = 0x03 , BCM2712 = 0x04 } |
enum | Manufacturer { SonyUK = 0x00 , Egoman = 0x01 , Embest = 0x02 , SonyJapan = 0x03 , Embest2 = 0x04 , Stadium = 0x05 } |
enum | MemorySize { Memory256MB = 0x00 , Memory512MB = 0x01 , Memory1GB = 0x02 , Memory2GB = 0x03 , Memory4GB = 0x04 , Memory8GB = 0x05 , Memory16GB = 0x06 } |
Public Member Functions | |
RaspianInfo () | |
bool | newFlag () const |
bool | found () const |
uint8_t | revision () const |
BoardType | board () const |
Processor | processor () const |
Manufacturer | manufacturer () const |
MemorySize | memory () const |
bool | warranty () const |
bool | otpReady () const |
bool | otpProgram () const |
bool | overVoltage () const |
uint32_t | value () const |
Private Attributes | |
BoardInfo | _info |
Piduino::System::RaspianInfo::RaspianInfo | ( | ) |
|
inline |
Definition at line 194 of file system.h.
References _info, Piduino::System::RaspianInfo::BoardInfoField::board, and Piduino::System::RaspianInfo::BoardInfo::field.
|
inline |
|
inline |
Definition at line 200 of file system.h.
References _info, Piduino::System::RaspianInfo::BoardInfo::field, and Piduino::System::RaspianInfo::BoardInfoField::manufacturer.
|
inline |
Definition at line 203 of file system.h.
References _info, Piduino::System::RaspianInfo::BoardInfo::field, and Piduino::System::RaspianInfo::BoardInfoField::memory.
|
inline |
Definition at line 185 of file system.h.
References _info, Piduino::System::RaspianInfo::BoardInfo::field, and Piduino::System::RaspianInfo::BoardInfoField::newrev.
Referenced by found().
|
inline |
Definition at line 212 of file system.h.
References _info, Piduino::System::RaspianInfo::BoardInfo::field, and Piduino::System::RaspianInfo::BoardInfoField::otpprogram.
|
inline |
Definition at line 209 of file system.h.
References _info, Piduino::System::RaspianInfo::BoardInfo::field, and Piduino::System::RaspianInfo::BoardInfoField::otpready.
|
inline |
Definition at line 215 of file system.h.
References _info, Piduino::System::RaspianInfo::BoardInfo::field, and Piduino::System::RaspianInfo::BoardInfoField::overvoltage.
|
inline |
Definition at line 197 of file system.h.
References _info, Piduino::System::RaspianInfo::BoardInfo::field, and Piduino::System::RaspianInfo::BoardInfoField::processor.
|
inline |
Definition at line 191 of file system.h.
References _info, Piduino::System::RaspianInfo::BoardInfo::field, and Piduino::System::RaspianInfo::BoardInfoField::revision.
|
inline |
Definition at line 218 of file system.h.
References _info, and Piduino::System::RaspianInfo::BoardInfo::value.
|
inline |
Definition at line 206 of file system.h.
References _info, Piduino::System::RaspianInfo::BoardInfo::field, and Piduino::System::RaspianInfo::BoardInfoField::warranty.
|
private |
Definition at line 257 of file system.h.
Referenced by board(), manufacturer(), memory(), newFlag(), otpProgram(), otpReady(), overVoltage(), processor(), revision(), value(), and warranty().