← Documents Documentation/hwmon/adt7410.rst GitHub 원문 ↗

Linux 6.18.37 · Hardware Monitoring

Kernel driver adt7410

ADT73xx·74xx 온도 센서의 해상도, INT/CT event와 공통 hysteresis ABI입니다.

Source pathDocumentation/hwmon/adt7410.rst
Source versionLinux v6.18.37
TranslationDUJINLABS 전문 번역 + 해설

요약·해설과 원문, 전문 번역을 서로 분리했습니다. API 이름, symbol, source path는 원문 표기를 사용합니다.

1. 요약·해설

원문의 핵심 논리와 kernel programming 관점의 보충 설명입니다. 아래의 전문 번역과는 별도로 작성했습니다.

요약·해설

adt7410.rst:1-94

네 온도 센서의 bus 차이, 13/16-bit 측정, sampling mode와 하나의 hysteresis 값을 설명합니다.

문서 개요
항목
SourceDocumentation/hwmon/adt7410.rst
분량94 source lines
Range-55°C~+150°C 또는 -40°C~+150°C
Mode16-bit comparator

원문 분량과 핵심 지원 범위입니다.

핵심 흐름
Bus와 모델 선택온도 samplingSetpoint와 fault queue 평가INT·CT alarm 보고

장치를 구성하고 측정하는 기본 순서입니다.

2. 영어 원문 전체

번역 기준이 된 Linux v6.18.37 원문입니다. 줄 번호는 이 버전의 파일 좌표입니다.

원문 전체 펼치기
1 Kernel driver adt7410
2 =====================
3
4 Supported chips:
5
6 * Analog Devices ADT7410
7
8 Prefix: 'adt7410'
9
10 Addresses scanned: None
11
12 Datasheet: Publicly available at the Analog Devices website
13
14 https://www.analog.com/static/imported-files/data_sheets/ADT7410.pdf
15 * Analog Devices ADT7420
16
17 Prefix: 'adt7420'
18
19 Addresses scanned: None
20
21 Datasheet: Publicly available at the Analog Devices website
22
23 https://www.analog.com/static/imported-files/data_sheets/ADT7420.pdf
24
25 * Analog Devices ADT7310
26
27 Prefix: 'adt7310'
28
29 Addresses scanned: None
30
31 Datasheet: Publicly available at the Analog Devices website
32
33 https://www.analog.com/static/imported-files/data_sheets/ADT7310.pdf
34
35 * Analog Devices ADT7320
36
37 Prefix: 'adt7320'
38
39 Addresses scanned: None
40
41 Datasheet: Publicly available at the Analog Devices website
42
43 https://www.analog.com/static/imported-files/data_sheets/ADT7320.pdf
44
45 Author: Hartmut Knaack <[email protected]>
46
47 Description
48 -----------
49
50 The ADT7310/ADT7410 is a temperature sensor with rated temperature range of
51 -55°C to +150°C. It has a high accuracy of +/-0.5°C and can be operated at a
52 resolution of 13 bits (0.0625°C) or 16 bits (0.0078°C). The sensor provides an
53 INT pin to indicate that a minimum or maximum temperature set point has been
54 exceeded, as well as a critical temperature (CT) pin to indicate that the
55 critical temperature set point has been exceeded. Both pins can be set up with a
56 common hysteresis of 0°C - 15°C and a fault queue, ranging from 1 to 4 events.
57 Both pins can individually set to be active-low or active-high, while the whole
58 device can either run in comparator mode or interrupt mode. The ADT7410 supports
59 continuous temperature sampling, as well as sampling one temperature value per
60 second or even just get one sample on demand for power saving. Besides, it can
61 completely power down its ADC, if power management is required.
62
63 The ADT7320/ADT7420 is register compatible, the only differences being the
64 package, a slightly narrower operating temperature range (-40°C to +150°C), and
65 a better accuracy (0.25°C instead of 0.50°C.)
66
67 The difference between the ADT7310/ADT7320 and ADT7410/ADT7420 is the control
68 interface, the ADT7310 and ADT7320 use SPI while the ADT7410 and ADT7420 use
69 I2C.
70
71 Configuration Notes
72 -------------------
73
74 Since the device uses one hysteresis value, which is an offset to minimum,
75 maximum and critical temperature, it can only be set for temp#_max_hyst.
76 However, temp#_min_hyst and temp#_crit_hyst show their corresponding
77 hysteresis.
78 The device is set to 16 bit resolution and comparator mode.
79
80 sysfs-Interface
81 ---------------
82
83 ======================== ====================================================
84 temp#_input temperature input
85 temp#_min temperature minimum setpoint
86 temp#_max temperature maximum setpoint
87 temp#_crit critical temperature setpoint
88 temp#_min_hyst hysteresis for temperature minimum (read-only)
89 temp#_max_hyst hysteresis for temperature maximum (read/write)
90 temp#_crit_hyst hysteresis for critical temperature (read-only)
91 temp#_min_alarm temperature minimum alarm flag
92 temp#_max_alarm temperature maximum alarm flag
93 temp#_crit_alarm critical temperature alarm flag
94 ======================== ====================================================
95

3. 한국어 전문 번역

영어 원문의 문단 순서와 의미를 유지한 전체 번역입니다. 코드, 함수명, symbol과 URL은 원문 표기를 유지합니다.

ADT7310·7320·7410·7420 지원

1-45

드라이버는 Analog Devices `ADT7410`, `ADT7420`, `ADT7310`, `ADT7320`을 지원합니다. Prefix는 각각 `adt7410`, `adt7420`, `adt7310`, `adt7320`이고 네 모델 모두 자동 검색 주소가 없습니다.

각 데이터시트는 Analog Devices 웹사이트에 공개되어 있으며 원문에 모델별 URL이 기재되어 있습니다. 저자는 Hartmut Knaack입니다.

ADT73xx·74xx 모델
Prefix주소 검색Interface
ADT7310adt7310없음SPI
ADT7320adt7320없음SPI
ADT7410adt7410없음I2C
ADT7420adt7420없음I2C

Interface 계열을 포함한 지원 목록입니다.

모델과 bus 선택
Sensor model 확인ADT7310/7320이면 SPI 선택ADT7410/7420이면 I2C 선택해당 prefix로 driver 결합

같은 register 기능을 bus interface에 맞춰 사용합니다.

Kernel driver adt7410
=====================

Supported chips:

  * Analog Devices ADT7410

    Prefix: 'adt7410'

    Addresses scanned: None

    Datasheet: Publicly available at the Analog Devices website

               https://www.analog.com/static/imported-files/data_sheets/ADT7410.pdf
  * Analog Devices ADT7420

    Prefix: 'adt7420'

    Addresses scanned: None

    Datasheet: Publicly available at the Analog Devices website

               https://www.analog.com/static/imported-files/data_sheets/ADT7420.pdf

  * Analog Devices ADT7310

    Prefix: 'adt7310'

    Addresses scanned: None

    Datasheet: Publicly available at the Analog Devices website

               https://www.analog.com/static/imported-files/data_sheets/ADT7310.pdf

  * Analog Devices ADT7320

    Prefix: 'adt7320'

    Addresses scanned: None

    Datasheet: Publicly available at the Analog Devices website

               https://www.analog.com/static/imported-files/data_sheets/ADT7320.pdf

Author: Hartmut Knaack <[email protected]>

정확도, event pin과 power mode

46-70

ADT7310/ADT7410은 rated temperature range가 -55°C부터 +150°C인 온도 센서입니다. 정확도는 +/-0.5°C이며 13-bit 0.0625°C 또는 16-bit 0.0078°C 해상도로 동작할 수 있습니다.

Minimum 또는 maximum temperature setpoint 초과는 `INT` pin으로, critical temperature setpoint 초과는 `CT` pin으로 알립니다. 두 pin은 공통 0°C~15°C hysteresis와 1~4 event의 fault queue를 설정할 수 있습니다.

INT와 CT pin은 각각 active-low 또는 active-high로 설정할 수 있고 장치 전체는 comparator mode 또는 interrupt mode로 동작합니다. ADT7410은 continuous sampling, 초당 한 번 sampling, 전력 절약을 위한 on-demand single sample을 지원합니다. Power management가 필요하면 ADC를 완전히 power down할 수도 있습니다.

ADT7320/ADT7420은 register-compatible입니다. 차이는 package, -40°C~+150°C로 약간 좁은 operating range, 그리고 0.50°C 대신 0.25°C인 더 높은 정확도입니다.

ADT7310/ADT7320과 ADT7410/ADT7420의 차이는 control interface입니다. 전자는 SPI, 후자는 I2C를 사용합니다.

ADT 온도 센서 특성
모델범위정확도해상도
ADT7310/7410-55°C ~ +150°C+/-0.5°C13-bit 0.0625°C 또는 16-bit 0.0078°C
ADT7320/7420-40°C ~ +150°C0.25°CRegister-compatible

기본 모델과 20 계열의 범위·정확도 차이입니다.

Temperature event
온도 sample 획득Min/max 및 critical setpoint 비교1~4 event fault queue 평가0~15°C 공통 hysteresis 적용선택한 polarity로 INT 또는 CT assert

공통 hysteresis와 fault queue를 거쳐 INT 또는 CT를 구동합니다.


Description
-----------

The ADT7310/ADT7410 is a temperature sensor with rated temperature range of
-55°C to +150°C. It has a high accuracy of +/-0.5°C and can be operated at a
resolution of 13 bits (0.0625°C) or 16 bits (0.0078°C). The sensor provides an
INT pin to indicate that a minimum or maximum temperature set point has been
exceeded, as well as a critical temperature (CT) pin to indicate that the
critical temperature set point has been exceeded. Both pins can be set up with a
common hysteresis of 0°C - 15°C and a fault queue, ranging from 1 to 4 events.
Both pins can individually set to be active-low or active-high, while the whole
device can either run in comparator mode or interrupt mode. The ADT7410 supports
continuous temperature sampling, as well as sampling one temperature value per
second or even just get one sample on demand for power saving. Besides, it can
completely power down its ADC, if power management is required.

The ADT7320/ADT7420 is register compatible, the only differences being the
package, a slightly narrower operating temperature range (-40°C to +150°C), and
a better accuracy (0.25°C instead of 0.50°C.)

The difference between the ADT7310/ADT7320 and ADT7410/ADT7420 is the control
interface, the ADT7310 and ADT7320 use SPI while the ADT7410 and ADT7420 use
I2C.

Hysteresis 설정과 sysfs

71-94

장치는 minimum, maximum, critical temperature 모두에 offset으로 적용하는 hysteresis 값 하나만 사용합니다. 따라서 쓰기는 `temp#_max_hyst`에서만 가능하지만 `temp#_min_hyst`와 `temp#_crit_hyst`는 대응하는 hysteresis 값을 read-only로 보여 줍니다.

드라이버는 장치를 16-bit resolution과 comparator mode로 설정합니다.

`temp#_input`은 temperature input, `temp#_min`, `temp#_max`, `temp#_crit`은 각각 minimum, maximum, critical setpoint입니다. `temp#_min_hyst`와 `temp#_crit_hyst`는 read-only이고 `temp#_max_hyst`는 read/write입니다. `temp#_min_alarm`, `temp#_max_alarm`, `temp#_crit_alarm`은 세 setpoint의 alarm flag입니다.

ADT7410 sysfs
Attribute의미권한
temp#_inputTemperature inputRead-only
temp#_min/max/crit세 temperature setpoint표준 limit 권한
temp#_min_hystMinimum hysteresisRead-only
temp#_max_hyst공통 hysteresis 설정 창구Read/write
temp#_crit_hystCritical hysteresisRead-only
temp#_min/max/crit_alarm세 alarm flagRead-only

한 개의 hardware hysteresis와 각 setpoint attribute를 연결합니다.

공통 hysteresis 적용
temp#_max_hyst에 offset 기록같은 offset을 min/max/critical에 적용min_hyst와 crit_hyst에서 계산값 읽기Comparator mode로 alarm 상태 평가

하나의 offset을 세 threshold에 투영합니다.

Configuration Notes
-------------------

Since the device uses one hysteresis value, which is an offset to minimum,
maximum and critical temperature, it can only be set for temp#_max_hyst.
However, temp#_min_hyst and temp#_crit_hyst show their corresponding
hysteresis.
The device is set to 16 bit resolution and comparator mode.

sysfs-Interface
---------------

======================== ====================================================
temp#_input                 temperature input
temp#_min                 temperature minimum setpoint
temp#_max                 temperature maximum setpoint
temp#_crit                 critical temperature setpoint
temp#_min_hyst                 hysteresis for temperature minimum (read-only)
temp#_max_hyst                 hysteresis for temperature maximum (read/write)
temp#_crit_hyst                 hysteresis for critical temperature (read-only)
temp#_min_alarm                 temperature minimum alarm flag
temp#_max_alarm                 temperature maximum alarm flag
temp#_crit_alarm         critical temperature alarm flag
======================== ====================================================