요약·해설과 원문, 전문 번역을 서로 분리했습니다. API 이름, symbol, source path는 원문 표기를 사용합니다.
1. 요약·해설
원문의 핵심 논리와 kernel programming 관점의 보충 설명입니다. 아래의 전문 번역과는 별도로 작성했습니다.
2. 영어 원문 전체
번역 기준이 된 Linux v6.18.37 원문입니다. 줄 번호는 이 버전의 파일 좌표입니다.
원문 전체 펼치기
1
What: /sys/bus/iio/devices/iio:deviceX/in_shunt_resistorY
2
KernelVersion: 6.7
3
Contact: linux-iio@vger.kernel.org
4
Description:
5
The value of the shunt resistor may be known only at runtime
6
and set by a client application. This attribute allows to
7
set its value in micro-ohms. X is the IIO index of the device.
8
Y is the channel number. The value is used to calculate
9
current, power and accumulated energy.
3. 한국어 전문 번역
영어 원문의 문단 순서와 의미를 유지한 전체 번역입니다. 코드, 함수명, symbol과 URL은 원문 표기를 유지합니다.
채널별 션트 저항
1-9| 항목 | 한국어 전문 번역 |
|---|---|
| What | /sys/bus/iio/devices/iio:deviceX/in_shunt_resistorY |
| KernelVersion | 6.7 |
| Contact | linux-iio@vger.kernel.org |
| Description | 션트 저항의 값은 실행 시점에만 알 수 있고 클라이언트 애플리케이션이 설정해야 할 수 있습니다. 이 속성으로 그 값을 마이크로옴 단위로 설정할 수 있습니다. X는 장치의 IIO 인덱스이고 Y는 채널 번호입니다. 이 값은 전류, 전력, 누적 에너지를 계산하는 데 사용합니다. |
Runtime shunt value
sysfs-bus-iio-adc-pac1934:1-9in_shunt_resistorY는 클라이언트가 채널 Y의 션트 저항을 마이크로옴 단위로 지정하게 합니다. 드라이버는 이 값을 전류, 전력, 누적 에너지 계산에 사용합니다.