요약·해설, 영어 원문, 전체 번역을 구분해 실었습니다. API 이름, 코드 심벌, 소스 경로는 원문 표기를 유지합니다.
1. 요약·해설
원문의 핵심 내용을 정리하고 커널 프로그래밍에 필요한 설명을 덧붙였습니다. 아래의 전체 번역과는 별도로 작성한 해설입니다.
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: [email protected]
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. 한국어 전문 번역
영어 원문의 문단 순서와 의미에 맞춰 전체 내용을 번역했습니다. 코드, 함수명, 코드 심벌, URL은 원문 표기를 유지합니다.
근접 측정 주변 적외선 억제
1-21| 항목 | 한국어 전문 번역 |
|---|---|
| What | /sys/bus/iio/devices/iio:deviceX/proximity_on_chip_ambient_infrared_suppression |
| Date | 2011년 1월 |
| KernelVersion | 2.6.37 |
| Contact | [email protected] |
| 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비트 결과로 노이즈 변화 영향을 줄입니다.