Expand description
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§
- The top level aggregation of information about a particular hardware configuration.
Enums§
- The names are re-ordered because variants can’t start with a number in Rust.
- This is a board revision number (e.g. 1.0 for old style, 1 for new), not the top level revision code.
Functions§
- Load RPi info from
/proc/cpuinfo
.