← Documents Documentation/ABI/testing/sysfs-bus-iio-ina2xx-adc GitHub 원문 ↗

Linux 6.18.37 · ABI / testing

INA2xx asynchronous ADC readout

INA2xx ADC의 Conversion Ready 폴링을 생략해 I2C 대역폭을 높일 때 생기는 샘플 누락·반복 위험을 설명합니다.

Source pathDocumentation/ABI/testing/sysfs-bus-iio-ina2xx-adc
Source versionLinux v6.18.37
TranslationDUJINLABS 전문 번역 + 해설

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

1. 요약·해설

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

Synchronization tradeoff

sysfs-bus-iio-ina2xx-adc:1-15

기본 모드는 ready flag로 변환과 판독을 동기화합니다. 비동기 판독은 추가 I2C 읽기를 없애지만 두 속도의 beat에 따라 샘플이 건너뛰거나 반복될 수 있습니다.

2. 영어 원문 전체

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

원문 전체 펼치기
1 What: /sys/bus/iio/devices/iio:deviceX/in_allow_async_readout
2 Date: December 2015
3 KernelVersion: 4.4
4 Contact: linux-iio@vger.kernel.org
5 Description:
6 By default (value '0'), the capture thread checks for the Conversion
7 Ready Flag to being set prior to committing a new value to the sample
8 buffer. This synchronizes the in-chip conversion rate with the
9 in-driver readout rate at the cost of an additional register read.
10
11 Writing '1' will remove the polling for the Conversion Ready Flags to
12 save the additional i2c transaction, which will improve the bandwidth
13 available for reading data. However, samples can be occasionally skipped
14 or repeated, depending on the beat between the capture and conversion
15 rates.
16

3. 한국어 전문 번역

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

비동기 판독 허용

1-15
항목한국어 전문 번역
What/sys/bus/iio/devices/iio:deviceX/in_allow_async_readout
Date2015년 12월
KernelVersion4.4
Contactlinux-iio@vger.kernel.org
Description기본값 '0'에서는 캡처 스레드가 새 값을 샘플 버퍼에 넣기 전에 Conversion Ready Flag가 설정됐는지 확인합니다. 추가 레지스터 읽기 비용을 들여 칩 내부 변환 속도와 드라이버 판독 속도를 동기화합니다. '1'을 쓰면 Conversion Ready Flag 폴링을 없애 추가 I2C 트랜잭션을 절약하므로 데이터 판독에 사용할 수 있는 대역폭이 늘어납니다. 그러나 캡처 속도와 변환 속도 사이의 beat에 따라 샘플을 간혹 건너뛰거나 반복할 수 있습니다.