요약·해설과 원문, 전문 번역을 서로 분리했습니다. API 이름, symbol, source path는 원문 표기를 사용합니다.
1. 요약·해설
원문의 핵심 논리와 kernel programming 관점의 보충 설명입니다. 아래의 전문 번역과는 별도로 작성했습니다.
2. 영어 원문 전체
번역 기준이 된 Linux v6.18.37 원문입니다. 줄 번호는 이 버전의 파일 좌표입니다.
원문 전체 펼치기
1
What: /sys/bus/iio/devices/iio:deviceX/proximity_on_chip_ambient_infrared_suppression
2
Date: January 2011
3
KernelVersion: 2.6.37
4
Contact: linux-iio@vger.kernel.org
5
Description:
6
From ISL29018 Data Sheet (FN6619.4, Oct 8, 2012) regarding the
7
infrared suppression:
9
Scheme 0, makes full n (4, 8, 12, 16) bits (unsigned) proximity
10
detection. The range of Scheme 0 proximity count is from 0 to
11
2^n. Logic 1 of this bit, Scheme 1, makes n-1 (3, 7, 11, 15)
12
bits (2's complementary) proximity_less_ambient detection. The
13
range of Scheme 1 proximity count is from -2^(n-1) to 2^(n-1).
14
The sign bit is extended for resolutions less than 16. While
15
Scheme 0 has wider dynamic range, Scheme 1 proximity detection
16
is less affected by the ambient IR noise variation.
18
== =============================================
19
0 Sensing IR from LED and ambient
20
1 Sensing IR from LED with ambient IR rejection
21
== =============================================
3. 한국어 전문 번역
영어 원문의 문단 순서와 의미를 유지한 전체 번역입니다. 코드, 함수명, symbol과 URL은 원문 표기를 유지합니다.
근접 측정 주변 적외선 억제
1-21| 항목 | 한국어 전문 번역 |
|---|---|
| What | /sys/bus/iio/devices/iio:deviceX/proximity_on_chip_ambient_infrared_suppression |
| Date | 2011년 1월 |
| KernelVersion | 2.6.37 |
| Contact | linux-iio@vger.kernel.org |
| Description | ISL29018 데이터시트(FN6619.4, 2012년 10월 8일)의 적외선 억제 설명입니다. Scheme 0은 전체 n(4, 8, 12, 16)비트 unsigned 근접 감지를 수행하며 근접 count 범위는 0부터 2^n까지입니다. 이 비트가 logic 1인 Scheme 1은 n-1(3, 7, 11, 15)비트 2's complement proximity_less_ambient 감지를 수행하며 근접 count 범위는 -2^(n-1)부터 2^(n-1)까지입니다. 해상도가 16비트보다 낮으면 sign bit를 확장합니다. Scheme 0은 동적 범위가 더 넓고, Scheme 1 근접 감지는 주변 IR 노이즈 변화의 영향을 덜 받습니다. |
| 값 | 감지 방식 |
|---|---|
| 0 | LED와 주변광의 IR을 함께 감지합니다. |
| 1 | 주변 IR을 제거하면서 LED의 IR을 감지합니다. |
Scheme selection
sysfs-bus-iio-light-isl29018:1-210은 LED와 주변 IR을 unsigned n비트로 함께 측정해 동적 범위를 넓히고, 1은 주변 IR을 제거한 signed n-1비트 결과로 노이즈 변화 영향을 줄입니다.