Documentation ¶
Overview ¶
Package legacy describes Raspberry Pi old-style revision codes.
Index ¶
Constants ¶
View Source
const ( A = Model(pirev.A) B = Model(pirev.B) APlus = Model(pirev.APlus) // A+ BPlus = Model(pirev.BPlus) // B+ CM1 = Model(pirev.CM1) )
Legacy model constants.
Variables ¶
View Source
var ( // ErrRevisionOutOfRange happens when asked to Describe a revision // number greater than the Last known. ErrRevisionOutOfRange = errors.New("revision out of range") // ErrUnknownRevision happens when asked to Describe a revision number // that is not specified in the Raspberry Pi documentation. ErrUnknownRevision = errors.New("unknown revision") )
Functions ¶
This section is empty.
Types ¶
type Info ¶
type Info struct { Revision Revision Memory Memory Model Model Manufacturer Manufacturer }
Info about hardware with an old-style revision code.
type Manufacturer ¶
type Manufacturer uint8
Manufacturer code.
const ( Egoman Manufacturer = iota SonyUK // Sony UK Qisda Embest )
Legacy manufacturer constants.
func (Manufacturer) String ¶
func (i Manufacturer) String() string
Click to show internal directories.
Click to hide internal directories.