요약·해설과 원문, 전문 번역을 서로 분리했습니다. API 이름, symbol, source path는 원문 표기를 사용합니다.
1. 요약·해설
원문의 핵심 논리와 kernel programming 관점의 보충 설명입니다. 아래의 전문 번역과는 별도로 작성했습니다.
2. 영어 원문 전체
번역 기준이 된 Linux v6.18.37 원문입니다. 줄 번호는 이 버전의 파일 좌표입니다.
원문 전체 펼치기
.. SPDX-License-Identifier: GPL-2.0-or-later
Kernel driver max127
====================
Author:
* Tao Ren <rentao.bupt@gmail.com>
Supported chips:
* Maxim MAX127
Prefix: 'max127'
Datasheet: https://datasheets.maximintegrated.com/en/ds/MAX127-MAX128.pdf
Description
-----------
The MAX127 is a multirange, 12-bit data acquisition system (DAS) providing
8 analog input channels that are independently software programmable for
a variety of ranges. The available ranges are {0,5V}, {0,10V}, {-5,5V}
and {-10,10V}.
The MAX127 features a 2-wire, I2C-compatible serial interface that allows
communication among multiple devices using SDA and SCL lines.
Sysfs interface
---------------
============== ==============================================================
in[0-7]_input The input voltage (in mV) of the corresponding channel.
RO
in[0-7]_min The lower input limit (in mV) for the corresponding channel.
ADC range and LSB will be updated when the limit is changed.
For the MAX127, it will be adjusted to -10000, -5000, or 0.
RW
in[0-7]_max The higher input limit (in mV) for the corresponding channel.
ADC range and LSB will be updated when the limit is changed.
For the MAX127, it will be adjusted to 0, 5000, or 10000.
RW
============== ==============================================================
3. 한국어 전문 번역
영어 원문의 문단 순서와 의미를 유지한 전체 번역입니다. 코드, 함수명, symbol과 URL은 원문 표기를 유지합니다.
MAX127 8채널 다중 범위 12비트 DAS
1-27GPL-2.0-or-later 문서의 MAX127 드라이버 저자는 Tao Ren이며 Maxim MAX127을 `max127` 접두사로 지원합니다.
MAX127은 채널별로 소프트웨어 설정할 수 있는 아날로그 입력 8개를 제공하는 다중 범위 12비트 데이터 수집 시스템입니다. 범위는 `{0,5V}`, `{0,10V}`, `{-5,5V}`, `{-10,10V}`입니다.
SDA와 SCL을 사용하는 2선 I2C 호환 직렬 인터페이스로 여러 장치와 통신할 수 있습니다.
각 채널이 네 단극성·양극성 범위 중 하나를 선택합니다.
한계 설정이 ADC 범위와 LSB를 함께 바꿉니다.
.. SPDX-License-Identifier: GPL-2.0-or-later
Kernel driver max127
====================
Author:
* Tao Ren <rentao.bupt@gmail.com>
Supported chips:
* Maxim MAX127
Prefix: 'max127'
Datasheet: https://datasheets.maximintegrated.com/en/ds/MAX127-MAX128.pdf
Description
-----------
The MAX127 is a multirange, 12-bit data acquisition system (DAS) providing
8 analog input channels that are independently software programmable for
a variety of ranges. The available ranges are {0,5V}, {0,10V}, {-5,5V}
and {-10,10V}.
The MAX127 features a 2-wire, I2C-compatible serial interface that allows
communication among multiple devices using SDA and SCL lines.
채널별 입력과 자동 조정 한계
28-45`in[0-7]_input`은 각 채널의 입력 전압을 mV로 제공하는 읽기 전용 속성입니다.
`in[0-7]_min`은 읽고 쓸 수 있는 하한입니다. 변경하면 ADC 범위와 LSB가 갱신되며 MAX127에서는 `-10000`, `-5000`, `0` 중 하나로 조정됩니다.
`in[0-7]_max`도 읽고 쓸 수 있는 상한이며 범위와 LSB를 갱신합니다. 값은 `0`, `5000`, `10000` 중 하나로 조정됩니다. min/max 조합으로 앞서 설명한 네 입력 범위를 결정합니다.
8개 채널의 현재값과 범위 선택 한계입니다.
min과 max를 쓰면 하드웨어 범위와 LSB가 동기화됩니다.
Sysfs interface
---------------
============== ==============================================================
in[0-7]_input The input voltage (in mV) of the corresponding channel.
RO
in[0-7]_min The lower input limit (in mV) for the corresponding channel.
ADC range and LSB will be updated when the limit is changed.
For the MAX127, it will be adjusted to -10000, -5000, or 0.
RW
in[0-7]_max The higher input limit (in mV) for the corresponding channel.
ADC range and LSB will be updated when the limit is changed.
For the MAX127, it will be adjusted to 0, 5000, or 10000.
RW
============== ==============================================================
요약·해설
max127.rst:1-458개 아날로그 입력이 0-5 V, 0-10 V, ±5 V, ±10 V 범위를 채널별로 선택하며 한계 변경 시 ADC 범위와 LSB가 갱신됩니다.
원문 분량과 핵심 인터페이스입니다.
장치 연결부터 측정·경보 처리까지의 순서입니다.