Documentation ¶
Overview ¶
Package rpihardware determines Raspberry Pi hardware and corresponding information during runtime.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrHwNotDetected = errors.New("Hardware undefined") ErrUndefinedEndian = errors.New("Endian undefined") )
Errors
View Source
var HardwareList = []Hardware{}
HardwareList contains all defined hardwares which are used for the check.
Functions ¶
This section is empty.
Types ¶
type Hardware ¶
type Hardware struct { Version Version //Hardware version RPiType RPiType //Raspberry Pi type PhysAddrBase uint32 //Base for physical memory address Desc string //Description of the hardware OscFreq uint32 //Frequency of the build in oscillator VideocoreBase uint32 //Base for videocore }
Hardware contians all information about a Raspberry Pi hardware.
Click to show internal directories.
Click to hide internal directories.