요약·해설과 원문, 전문 번역을 서로 분리했습니다. API 이름, symbol, source path는 원문 표기를 사용합니다.
1. 요약·해설
원문의 핵심 논리와 kernel programming 관점의 보충 설명입니다. 아래의 전문 번역과는 별도로 작성했습니다.
Eight registers, five zones
sysfs-bus-iio-light-lm3533-als:19-43Y=0..3의 falling/raising 값은 8개 경계 레지스터를 구성해 5개 light zone을 정의합니다. falling은 raising보다 클 수 없습니다.
ALS mapper targets
sysfs-bus-iio-light-lm3533-als:44-56out_currentY_currentZ_raw는 세 출력 채널과 다섯 zone의 전류 목표값을 설정하며 현재 zone 값은 out_currentY_raw에서 읽습니다.
2. 영어 원문 전체
번역 기준이 된 Linux v6.18.37 원문입니다. 줄 번호는 이 버전의 파일 좌표입니다.
원문 전체 펼치기
1
What: /sys/.../events/in_illuminance0_thresh_either_en
2
Date: April 2012
3
KernelVersion: 3.5
4
Contact: Johan Hovold <jhovold@gmail.com>
5
Description:
6
Event generated when channel passes one of the four thresholds
7
in each direction (rising|falling) and a zone change occurs.
8
The corresponding light zone can be read from
9
in_illuminance0_zone.
11
What: /sys/.../events/in_illuminance0_threshY_hysteresis
12
Date: May 2012
13
KernelVersion: 3.5
14
Contact: Johan Hovold <jhovold@gmail.com>
15
Description:
16
Get the hysteresis for thresholds Y, that is,
17
threshY_hysteresis = threshY_raising - threshY_falling
19
What: /sys/.../events/illuminance_threshY_falling_value
20
What: /sys/.../events/illuminance_threshY_raising_value
21
Date: April 2012
22
KernelVersion: 3.5
23
Contact: Johan Hovold <jhovold@gmail.com>
24
Description:
25
Specifies the value of threshold that the device is comparing
26
against for the events enabled by
27
in_illuminance0_thresh_either_en (0..255), where Y in 0..3.
29
Note that threshY_falling must be less than or equal to
30
threshY_raising.
32
These thresholds correspond to the eight zone-boundary
33
registers (boundaryY_{low,high}) and define the five light
34
zones.
36
What: /sys/bus/iio/devices/iio:deviceX/in_illuminance0_zone
37
Date: April 2012
38
KernelVersion: 3.5
39
Contact: Johan Hovold <jhovold@gmail.com>
40
Description:
41
Get the current light zone (0..4) as defined by the
42
in_illuminance0_threshY_{falling,rising} thresholds.
44
What: /sys/bus/iio/devices/iio:deviceX/out_currentY_currentZ_raw
45
Date: May 2012
46
KernelVersion: 3.5
47
Contact: Johan Hovold <jhovold@gmail.com>
48
Description:
49
Set the output current for channel out_currentY when in zone
50
Z (0..255), where Y in 0..2 and Z in 0..4.
52
These values correspond to the ALS-mapper target registers for
53
ALS-mapper Y + 1.
55
Note that out_currentY_raw provides the current for the
56
current zone.
3. 한국어 전문 번역
영어 원문의 문단 순서와 의미를 유지한 전체 번역입니다. 코드, 함수명, symbol과 URL은 원문 표기를 유지합니다.
조도 zone 변경 이벤트
1-10| 항목 | 한국어 전문 번역 |
|---|---|
| What | /sys/.../events/in_illuminance0_thresh_either_en |
| Date | 2012년 4월 |
| KernelVersion | 3.5 |
| Contact | Johan Hovold <jhovold@gmail.com> |
| Description | 채널이 상승 또는 하강 방향에서 네 임계값 가운데 하나를 지나 zone이 바뀌면 이벤트를 생성합니다. 대응하는 light zone은 in_illuminance0_zone에서 읽을 수 있습니다. |
임계값 hysteresis
11-18| 항목 | 한국어 전문 번역 |
|---|---|
| What | /sys/.../events/in_illuminance0_threshY_hysteresis |
| Date | 2012년 5월 |
| KernelVersion | 3.5 |
| Contact | Johan Hovold <jhovold@gmail.com> |
| Description | 임계값 Y의 hysteresis를 가져옵니다. 즉 threshY_hysteresis = threshY_raising - threshY_falling입니다. |
threshY_hysteresis = threshY_raising - threshY_falling
Zone 경계 임계값
19-35| 항목 | 한국어 전문 번역 |
|---|---|
| What | /sys/.../events/illuminance_threshY_falling_value |
| What | /sys/.../events/illuminance_threshY_raising_value |
| Date | 2012년 4월 |
| KernelVersion | 3.5 |
| Contact | Johan Hovold <jhovold@gmail.com> |
| Description | in_illuminance0_thresh_either_en으로 활성화한 이벤트에서 장치가 비교할 임계값(0..255)을 지정합니다. Y의 범위는 0..3입니다. threshY_falling은 threshY_raising보다 작거나 같아야 합니다. 이 임계값들은 8개 zone-boundary 레지스터(boundaryY_{low,high})에 대응하며 5개 light zone을 정의합니다. |
현재 light zone
36-43| 항목 | 한국어 전문 번역 |
|---|---|
| What | /sys/bus/iio/devices/iio:deviceX/in_illuminance0_zone |
| Date | 2012년 4월 |
| KernelVersion | 3.5 |
| Contact | Johan Hovold <jhovold@gmail.com> |
| Description | in_illuminance0_threshY_{falling,rising} 임계값으로 정의한 현재 light zone(0..4)을 가져옵니다. |
Zone별 출력 전류
44-56| 항목 | 한국어 전문 번역 |
|---|---|
| What | /sys/bus/iio/devices/iio:deviceX/out_currentY_currentZ_raw |
| Date | 2012년 5월 |
| KernelVersion | 3.5 |
| Contact | Johan Hovold <jhovold@gmail.com> |
| Description | zone Z에 있을 때 out_currentY 채널의 출력 전류(0..255)를 설정합니다. Y의 범위는 0..2이고 Z의 범위는 0..4입니다. 이 값들은 ALS-mapper Y + 1의 ALS-mapper target 레지스터에 대응합니다. out_currentY_raw는 현재 zone의 전류를 제공한다는 점에 유의하십시오. |
Boundary crossing
sysfs-bus-iio-light-lm3533-als:1-18네 임계값 중 하나를 통과해 zone이 바뀌면 이벤트가 발생하며 hysteresis는 raising과 falling 값의 차이입니다.