요약·해설, 영어 원문, 전체 번역을 구분해 실었습니다. API 이름, 코드 심벌, 소스 경로는 원문 표기를 유지합니다.
1. 요약·해설
원문의 핵심 내용을 정리하고 커널 프로그래밍에 필요한 설명을 덧붙였습니다. 아래의 전체 번역과는 별도로 작성한 해설입니다.
Magnitude selection
sysfs-bus-iio-dac-ad5766:14-25dither_scale_available에서 지원값을 확인하고 dither_scale로 채널에 적용하기 전 크기를 조정합니다.
Noise source
sysfs-bus-iio-dac-ad5766:26-31dither_source는 0일 때 N0, 1일 때 N1 소스를 선택합니다.
2. 영어 원문 전체
번역에 사용한 Linux v6.18.37 원문입니다. 줄 번호는 해당 버전의 소스 파일을 기준으로 합니다.
원문 전체 펼치기
1
What: /sys/bus/iio/devices/iio:deviceX/in_voltageY_dither_enable
2
KernelVersion: 5.12
3
Contact: [email protected]
4
Description:
5
Dither enable. Write 1 to enable dither or 0 to disable it.
7
What: /sys/bus/iio/devices/iio:deviceX/in_voltageY_dither_invert
8
KernelVersion: 5.12
9
Contact: [email protected]
10
Description:
11
Inverts the dither applied to the selected DAC channel. Dither is not
12
inverted by default. Write "1" to invert dither.
14
What: /sys/bus/iio/devices/iio:deviceX/in_voltageY_dither_scale_available
15
KernelVersion: 5.12
16
Contact: [email protected]
17
Description:
18
Returns possible scalings available for the current channel.
20
What: /sys/bus/iio/devices/iio:deviceX/in_voltageY_dither_scale
21
KernelVersion: 5.12
22
Contact: [email protected]
23
Description:
24
Scales the dither before it is applied to the selected channel.
26
What: /sys/bus/iio/devices/iio:deviceX/in_voltageY_dither_source
27
KernelVersion: 5.12
28
Contact: [email protected]
29
Description:
30
Selects dither source applied to the selected channel. Write "0" to
31
select N0 source, write "1" to select N1 source.
3. 한국어 전문 번역
영어 원문의 문단 순서와 의미에 맞춰 전체 내용을 번역했습니다. 코드, 함수명, 코드 심벌, URL은 원문 표기를 유지합니다.
디더 활성화
1-6| 항목 | 한국어 전문 번역 |
|---|---|
| What | /sys/bus/iio/devices/iio:deviceX/in_voltageY_dither_enable |
| KernelVersion | 5.12 |
| Contact | [email protected] |
| Description | 디더 활성화 속성입니다. 디더를 활성화하려면 1, 비활성화하려면 0을 씁니다. |
디더 반전
7-13| 항목 | 한국어 전문 번역 |
|---|---|
| What | /sys/bus/iio/devices/iio:deviceX/in_voltageY_dither_invert |
| KernelVersion | 5.12 |
| Contact | [email protected] |
| Description | 선택한 DAC 채널에 적용되는 디더를 반전합니다. 기본적으로 디더는 반전되지 않습니다. 디더를 반전하려면 "1"을 씁니다. |
사용 가능한 디더 스케일
14-19| 항목 | 한국어 전문 번역 |
|---|---|
| What | /sys/bus/iio/devices/iio:deviceX/in_voltageY_dither_scale_available |
| KernelVersion | 5.12 |
| Contact | [email protected] |
| Description | 현재 채널에서 사용할 수 있는 스케일 값들을 반환합니다. |
디더 스케일
20-25| 항목 | 한국어 전문 번역 |
|---|---|
| What | /sys/bus/iio/devices/iio:deviceX/in_voltageY_dither_scale |
| KernelVersion | 5.12 |
| Contact | [email protected] |
| Description | 선택한 채널에 디더를 적용하기 전에 디더의 크기를 조정합니다. |
디더 소스
26-31| 항목 | 한국어 전문 번역 |
|---|---|
| What | /sys/bus/iio/devices/iio:deviceX/in_voltageY_dither_source |
| KernelVersion | 5.12 |
| Contact | [email protected] |
| Description | 선택한 채널에 적용할 디더 소스를 선택합니다. N0 소스를 선택하려면 "0", N1 소스를 선택하려면 "1"을 씁니다. |
Enable and polarity
sysfs-bus-iio-dac-ad5766:1-13dither_enable은 디더 동작을 켜고 끄며, dither_invert는 선택한 채널에 적용하는 디더의 극성을 반전합니다.