Struct sysinfo#

Struct Documentation#

struct sysinfo#

Public Functions

inline uint16_t get_CHIP_ID_MANUFACTURER() volatile#

Get CHIP_ID’s MANUFACTURER field.

inline uint16_t get_CHIP_ID_PART() volatile#

Get CHIP_ID’s PART field.

inline uint8_t get_CHIP_ID_REVISION() volatile#

Get CHIP_ID’s REVISION field.

inline void get_CHIP_ID(uint16_t &MANUFACTURER, uint16_t &PART, uint8_t &REVISION) volatile#

Get all of CHIP_ID’s bit fields.

(read-only) JEDEC JEP-106 compliant chip identifier.

inline bool get_PLATFORM_FPGA() volatile#

Get PLATFORM’s FPGA bit.

inline bool get_PLATFORM_ASIC() volatile#

Get PLATFORM’s ASIC bit.

inline void get_PLATFORM(bool &FPGA, bool &ASIC) volatile#

Get all of PLATFORM’s bit fields.

(read-only) Platform register. Allows software to know what environment it is running in.

Public Members

const uint32_t CHIP_ID = {}#

(read-only) JEDEC JEP-106 compliant chip identifier.

const uint32_t PLATFORM = {}#

(read-only) Platform register. Allows software to know what environment it is running in.

const uint32_t reserved_padding0[reserved_padding0_length] = {}#
uint32_t GITREF_RP2040#

(read-write) Git hash of the chip source. Used to identify chip version.

Public Static Attributes

static constexpr std::size_t size = 68#

sysinfo’s size in bytes.

static constexpr std::size_t reserved_padding0_length = 14#