요약·해설과 원문, 전문 번역을 서로 분리했습니다. API 이름, symbol, source path는 원문 표기를 사용합니다.
1. 요약·해설
원문의 핵심 논리와 kernel programming 관점의 보충 설명입니다. 아래의 전문 번역과는 별도로 작성했습니다.
2. 영어 원문 전체
번역 기준이 된 Linux v6.18.37 원문입니다. 줄 번호는 이 버전의 파일 좌표입니다.
원문 전체 펼치기
Kernel driver lm77
==================
Supported chips:
* National Semiconductor LM77
Prefix: 'lm77'
Addresses scanned: I2C 0x48 - 0x4b
Datasheet: Publicly available at the National Semiconductor website
http://www.national.com/
Author: Andras BALI <drewie@freemail.hu>
Description
-----------
The LM77 implements one temperature sensor. The temperature
sensor incorporates a band-gap type temperature sensor,
10-bit ADC, and a digital comparator with user-programmable upper
and lower limit values.
The LM77 implements 3 limits: low (temp1_min), high (temp1_max) and
critical (temp1_crit.) It also implements an hysteresis mechanism which
applies to all 3 limits. The relative difference is stored in a single
register on the chip, which means that the relative difference between
the limit and its hysteresis is always the same for all 3 limits.
This implementation detail implies the following:
* When setting a limit, its hysteresis will automatically follow, the
difference staying unchanged. For example, if the old critical limit
was 80 degrees C, and the hysteresis was 75 degrees C, and you change
the critical limit to 90 degrees C, then the hysteresis will
automatically change to 85 degrees C.
* All 3 hysteresis can't be set independently. We decided to make
temp1_crit_hyst writable, while temp1_min_hyst and temp1_max_hyst are
read-only. Setting temp1_crit_hyst writes the difference between
temp1_crit_hyst and temp1_crit into the chip, and the same relative
hysteresis applies automatically to the low and high limits.
* The limits should be set before the hysteresis.
3. 한국어 전문 번역
영어 원문의 문단 순서와 의미를 유지한 전체 번역입니다. 코드, 함수명, symbol과 URL은 원문 표기를 유지합니다.
LM77 지원 정보와 센서 구조
1-21National Semiconductor LM77은 `lm77` 접두사를 사용하며 I2C 주소 `0x48`부터 `0x4b`까지 검색됩니다. 공개 데이터시트 링크를 제공하며 작성자는 Andras BALI입니다.
LM77은 밴드갭 방식 온도 센서, 10비트 ADC, 사용자가 상한과 하한을 설정할 수 있는 디지털 비교기를 통합한 단일 온도 센서입니다.
검색과 측정 구조를 요약합니다.
전용 인코딩을 사용하는 센서를 해당 드라이버에 연결합니다.
Kernel driver lm77
==================
Supported chips:
* National Semiconductor LM77
Prefix: 'lm77'
Addresses scanned: I2C 0x48 - 0x4b
Datasheet: Publicly available at the National Semiconductor website
http://www.national.com/
Author: Andras BALI <drewie@freemail.hu>
Description
-----------
세 제한값과 공통 상대 히스테리시스
22-45LM77은 낮음 `temp1_min`, 높음 `temp1_max`, 임계 `temp1_crit`의 세 제한값을 구현합니다. 세 제한값 모두에 히스테리시스가 적용되지만 칩에는 상대 차이를 저장하는 레지스터가 하나뿐이어서 제한과 히스테리시스 사이의 차이는 항상 세 제한값에서 같습니다.
제한값을 바꾸면 같은 차이를 유지하도록 히스테리시스도 자동으로 이동합니다. 예를 들어 임계값 80 C와 히스테리시스 75 C를 임계값 90 C로 바꾸면 히스테리시스는 자동으로 85 C가 됩니다.
세 히스테리시스는 독립적으로 설정할 수 없습니다. 드라이버는 `temp1_crit_hyst`만 쓰기 가능하게 하고 `temp1_min_hyst`와 `temp1_max_hyst`는 읽기 전용으로 둡니다. `temp1_crit_hyst`를 쓰면 임계값과의 차이가 칩에 기록되고 같은 상대 히스테리시스가 낮음·높음 제한에도 적용됩니다. 따라서 제한값을 먼저 설정한 뒤 히스테리시스를 설정해야 합니다.
세 제한값과 공통 히스테리시스의 쓰기 권한입니다.
단일 차이 레지스터 때문에 순서가 중요합니다.
The LM77 implements one temperature sensor. The temperature
sensor incorporates a band-gap type temperature sensor,
10-bit ADC, and a digital comparator with user-programmable upper
and lower limit values.
The LM77 implements 3 limits: low (temp1_min), high (temp1_max) and
critical (temp1_crit.) It also implements an hysteresis mechanism which
applies to all 3 limits. The relative difference is stored in a single
register on the chip, which means that the relative difference between
the limit and its hysteresis is always the same for all 3 limits.
This implementation detail implies the following:
* When setting a limit, its hysteresis will automatically follow, the
difference staying unchanged. For example, if the old critical limit
was 80 degrees C, and the hysteresis was 75 degrees C, and you change
the critical limit to 90 degrees C, then the hysteresis will
automatically change to 85 degrees C.
* All 3 hysteresis can't be set independently. We decided to make
temp1_crit_hyst writable, while temp1_min_hyst and temp1_max_hyst are
read-only. Setting temp1_crit_hyst writes the difference between
temp1_crit_hyst and temp1_crit into the chip, and the same relative
hysteresis applies automatically to the low and high limits.
* The limits should be set before the hysteresis.
요약·해설
lm77.rst:1-45낮음·높음·임계 제한을 먼저 정한 뒤 하나의 상대 히스테리시스 차이를 세 제한값에 공통 적용합니다.
원문 분량과 핵심 인터페이스입니다.
장치 감지부터 측정값 사용까지의 핵심 순서입니다.