Hardware Information
Overview
The HW Info API provides access to hardware information such as device identifiers and reset cause flags.
Reset cause flags can be used to determine why the device was reset; for
example due to a watchdog timeout or due to power cycling. Different devices
support different subset of flags. Use
hwinfo_get_supported_reset_cause() to retrieve the flags that are
supported by that device.
Most implementations are SoC specific, reading the identifiers from vendor
registers or memory. The generic zephyr,hwinfo-nvmem backend
sources the device ID, and optionally the EUI-64, from NVMEM cells (see
Non-Volatile Memory (NVMEM)).
Configuration Options
Related configuration options: