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

Linux 6.18.37 · ABI / testing

HI8435 threshold detector controls

HI8435의 GND-Open·Supply-Open sensing mode와 falling·rising 전압 임계값 및 짝수 hysteresis 보정을 설명합니다.

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

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

1. 요약·해설

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

Grouped sensing modes

sysfs-bus-iio-adc-hi8435:1-9

입력 채널은 8개씩 묶여 GND-Open 또는 Supply-Open 센서 유형을 공유하지만 각 채널군의 sensing mode는 다르게 설정할 수 있습니다.

Low and high thresholds

sysfs-bus-iio-adc-hi8435:11-48

저전압 임계값은 2..21 V, 고전압 임계값은 3..22 V이며 둘 사이 hysteresis는 2 이상인 짝수여야 합니다. 한 임계값 변경으로 홀수가 되면 드라이버가 반대 임계값을 1만큼 조정합니다.

2. 영어 원문 전체

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

원문 전체 펼치기
1 What: /sys/bus/iio/devices/iio:deviceX/in_voltageY_sensing_mode
2 Date: August 2015
3 KernelVersion: 4.2.0
5 Description:
6 Program sensor type for threshold detector inputs.
7 Could be either "GND-Open" or "Supply-Open" mode. Y is a
8 threshold detector input channel. Channels 0..7, 8..15, 16..23
9 and 24..31 has common sensor types.
10
11 What: /sys/bus/iio/devices/iio:deviceX/events/in_voltageY_thresh_falling_value
12 Date: August 2015
13 KernelVersion: 4.2.0
15 Description:
16 Channel Y low voltage threshold. If sensor input voltage goes lower then
17 this value then the threshold falling event is pushed.
18 Depending on in_voltageY_sensing_mode the low voltage threshold
19 is separately set for "GND-Open" and "Supply-Open" modes.
20 Channels 0..31 have common low threshold values, but could have different
21 sensing_modes.
22
23 The low voltage threshold range is between 2..21V.
24 Hysteresis between low and high thresholds can not be lower then 2 and
25 can not be odd.
26
27 If falling threshold results hysteresis to odd value then rising
28 threshold is automatically subtracted by one.
29
30 What: /sys/bus/iio/devices/iio:deviceX/events/in_voltageY_thresh_rising_value
31 Date: August 2015
32 KernelVersion: 4.2.0
34 Description:
35 Channel Y high voltage threshold. If sensor input voltage goes higher then
36 this value then the threshold rising event is pushed.
37 Depending on in_voltageY_sensing_mode the high voltage threshold
38 is separately set for "GND-Open" and "Supply-Open" modes.
39
40 Channels 0..31 have common high threshold values, but could have different
41 sensing_modes.
42
43 The high voltage threshold range is between 3..22V.
44 Hysteresis between low and high thresholds can not be lower then 2 and
45 can not be odd.
46
47 If rising threshold results hysteresis to odd value then falling
48 threshold is automatically appended by one.
49

3. 한국어 전문 번역

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

Threshold detector sensing mode

1-9
/sys/bus/iio/devices/iio:deviceX/in_voltageY_sensing_mode

Date는 2015년 8월, KernelVersion은 4.2.0, Contact는 [email protected]입니다. Threshold detector 입력의 센서 유형을 설정합니다. 모드는 "GND-Open" 또는 "Supply-Open"입니다. Y는 threshold detector 입력 채널이며 0..7, 8..15, 16..23, 24..31 채널군은 각각 공통 센서 유형을 사용합니다.

Low voltage falling threshold

11-28
/sys/bus/iio/devices/iio:deviceX/events/in_voltageY_thresh_falling_value

Date는 2015년 8월, KernelVersion은 4.2.0, Contact는 [email protected]입니다. 채널 Y의 저전압 임계값입니다. 센서 입력 전압이 이 값보다 낮아지면 threshold falling 이벤트를 보냅니다. in_voltageY_sensing_mode에 따라 "GND-Open"과 "Supply-Open" 모드의 저전압 임계값을 따로 설정합니다.

채널 0..31은 공통 저전압 임계값을 사용하지만 sensing_mode는 서로 다를 수 있습니다. 저전압 임계값 범위는 2..21 V입니다. 낮은 임계값과 높은 임계값 사이의 hysteresis는 2보다 작을 수 없고 홀수일 수 없습니다.

Falling 임계값 때문에 hysteresis가 홀수가 되면 rising 임계값에서 자동으로 1을 뺍니다.

High voltage rising threshold

30-48
/sys/bus/iio/devices/iio:deviceX/events/in_voltageY_thresh_rising_value

Date는 2015년 8월, KernelVersion은 4.2.0, Contact는 [email protected]입니다. 채널 Y의 고전압 임계값입니다. 센서 입력 전압이 이 값보다 높아지면 threshold rising 이벤트를 보냅니다. in_voltageY_sensing_mode에 따라 "GND-Open"과 "Supply-Open" 모드의 고전압 임계값을 따로 설정합니다.

채널 0..31은 공통 고전압 임계값을 사용하지만 sensing_mode는 서로 다를 수 있습니다. 고전압 임계값 범위는 3..22 V입니다. 낮은 임계값과 높은 임계값 사이의 hysteresis는 2보다 작을 수 없고 홀수일 수 없습니다.

Rising 임계값 때문에 hysteresis가 홀수가 되면 falling 임계값에 자동으로 1을 더합니다.