Module sys_info_api

Module sys_info_api 

Source
Expand description

This module defines a safe api to access the get_sys_info bootrom function

Structs§

BootInfo
Boot diagnostic info as described in 5.4 under the get_sys_info function
BootRandom
128 bit random integer generated per boot as reported by boot_random
ChipInfo
The unqiue identifier for each chip as reported by chip_info
FlashDevInfo
Flash device information as reported by flash_dev_info
OtpCriticalReg
The value held within the critical register as reported by otp_critical_register

Enums§

BootDiagnosticFlags
Diagnostic flags reported by the upper and lower words in BootInfo::boot_diagnostic
BootType
The type of boot that occurred
CpuInfo
CPU architectures that might be running as reported by cpu_info
FlashDevInfoSize
A struct to represent possible byte sizes that may be reported in FlashDevInfo
GetSysInfoFlag
Flags that the get_sys_info/ rom function can take
PartitionIndex
Recen boot diagnostic partition

Functions§

boot_info
Get diagnostic boot info
boot_random
Get a 128-bit random number generated on each boot
chip_info
Get the unique identifier for the chip
cpu_info
Get the current running CPU’s info
flash_dev_info
Get flash device info in the format of OTP FLASH_DEVINFO
otp_critical_register
Get the value of the OTP critical register