Part 1
요약·해설
Supported reset cause 조회와 HW Info 설정·API를 다룹니다.
Information
device ID · reset cause
Part 2
접을 수 있는 영어 원문 전체
영어 원문 전체 펼치기
원문 SHA-256
9D11DCA50F640DEE2B9782EEDF5BC34CA1824E789B921BA3E68D3EF173FE6B6D
.. _hwinfo_api:
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
:c:func:`hwinfo_get_supported_reset_cause` to retrieve the flags that are
supported by that device.
Configuration Options
*********************
Related configuration options:
* :kconfig:option:`CONFIG_HWINFO`
API Reference
*************
.. doxygengroup:: hwinfo_interface
Part 3
한국어 전문 번역
개요
HW Info API는 device identifier와 reset cause flag 같은 hardware information에 접근합니다.
Reset cause flag로 watchdog timeout이나 power cycle처럼 device가 reset된 이유를 판단할 수 있습니다. Device마다 지원하는 flag subset이 다르므로 hwinfo_get_supported_reset_cause()로 해당 device가 지원하는 flag를 조회합니다.
설정 option
관련 설정 option은 CONFIG_HWINFO입니다.
API reference
hwinfo_interface Doxygen group이 hardware information interface의 공식 API reference를 제공합니다.
Source
출처
영어 원문에는 문단, 문서 지시문, 표, 코드, 코드 심벌, 경로를 그대로 보존했습니다.