요약·해설과 원문, 전문 번역을 서로 분리했습니다. API 이름, symbol, source path는 원문 표기를 사용합니다.
1. 요약·해설
원문의 핵심 논리와 kernel programming 관점의 보충 설명입니다. 아래의 전문 번역과는 별도로 작성했습니다.
2. 영어 원문 전체
번역 기준이 된 Linux v6.18.37 원문입니다. 줄 번호는 이 버전의 파일 좌표입니다.
원문 전체 펼치기
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 <knaack.h@gmx.de>
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.
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
======================== ====================================================
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입니다.
Interface 계열을 포함한 지원 목록입니다.
같은 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 <knaack.h@gmx.de>
정확도, event pin과 power mode
46-70ADT7310/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를 사용합니다.
기본 모델과 20 계열의 범위·정확도 차이입니다.
공통 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입니다.
한 개의 hardware hysteresis와 각 setpoint attribute를 연결합니다.
하나의 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
======================== ====================================================
요약·해설
adt7410.rst:1-94네 온도 센서의 bus 차이, 13/16-bit 측정, sampling mode와 하나의 hysteresis 값을 설명합니다.
원문 분량과 핵심 지원 범위입니다.
장치를 구성하고 측정하는 기본 순서입니다.