[−][src]Crate rpi_info
There's only one entry point in this crate: load_cpuinfo()
. Call it, handle any errors, then
enjoy knowing more about your Raspberry Pi hardware!
Hardware data is from https://www.raspberrypi.org/documentation/hardware/raspberrypi/revision-codes/README.md.
Structs
RaspberryPiInfo | The top level aggregation of information about a particular hardware configuration. |
Revision |
Enums
Manufacturer | |
MemorySize | |
Model | The names are re-ordered because variants can't start with a number in Rust. |
Processor | |
RevisionNum | This is a board revision number (e.g. 1.0 for old style, 1 for new), not the top level revision code. |
Functions
load_cpuinfo | Load RPi info from |