요약·해설과 원문, 전문 번역을 서로 분리했습니다. API 이름, symbol, source path는 원문 표기를 사용합니다.
1. 요약·해설
원문의 핵심 논리와 kernel programming 관점의 보충 설명입니다. 아래의 전문 번역과는 별도로 작성했습니다.
2. 영어 원문 전체
번역 기준이 된 Linux v6.18.37 원문입니다. 줄 번호는 이 버전의 파일 좌표입니다.
원문 전체 펼치기
1
What: /sys/bus/w1/devices/19-<id>/speed
2
Date: Sep 2017
3
KernelVersion: 4.14
4
Contact: Jan Kandziora <[email protected]>
5
Description: When written, this file sets the I2C speed on the connected
6
DS28E17 chip. When read, it reads the current setting from
7
the DS28E17 chip.
9
Valid values: 100, 400, 900 [kBaud].
11
Default 100, can be set by w1_ds28e17.speed= module parameter.
12
Users: w1_ds28e17 driver
14
What: /sys/bus/w1/devices/19-<id>/stretch
15
Date: Sep 2017
16
KernelVersion: 4.14
17
Contact: Jan Kandziora <[email protected]>
18
Description: When written, this file sets the multiplier used to calculate
19
the busy timeout for I2C operations on the connected DS28E17
20
chip. When read, returns the current setting.
21
Valid values: 1 to 9.
23
Default 1, can be set by w1_ds28e17.stretch= module parameter.
24
Users: w1_ds28e17 driver
3. 한국어 전문 번역
영어 원문의 문단 순서와 의미를 유지한 전체 번역입니다. 코드, 함수명, symbol과 URL은 원문 표기를 유지합니다.
DS28E17 I2C speed
1-13| 항목 | 한국어 전문 번역 |
|---|---|
| What | /sys/bus/w1/devices/19-<id>/speed |
| Date | 2017년 9월 |
| KernelVersion | 4.14 |
| Contact | Jan Kandziora <[email protected]> |
| Description | Write하면 connected DS28E17 chip의 I2C speed를 설정하고 read하면 chip의 current setting을 읽습니다. Valid values는 100, 400, 900 kBaud입니다. Default는 100이며 `w1_ds28e17.speed=` module parameter로 변경할 수 있습니다. |
| Access | Read-write |
| Users | w1_ds28e17 driver |
ValueUnitDefault
100kBaudYes
400kBaudNo
900kBaudNo
지원 baud rates와 default입니다.
DS28E17 busy-timeout multiplier
14-24| 항목 | 한국어 전문 번역 |
|---|---|
| What | /sys/bus/w1/devices/19-<id>/stretch |
| Date | 2017년 9월 |
| KernelVersion | 4.14 |
| Contact | Jan Kandziora <[email protected]> |
| Description | Write하면 connected DS28E17 chip의 I2C operations에 대한 busy timeout 계산 multiplier를 설정하고 read하면 current setting을 반환합니다. Valid range는 1~9이고 default는 1이며 `w1_ds28e17.stretch=` module parameter로 변경할 수 있습니다. |
| Access | Read-write |
| Users | w1_ds28e17 driver |
| Valid values | 1..9 |
| Default | 1 |
I2C rate and timeout policy
sysfs-driver-w1_ds28e17:1-24Speed는 100·400·900 kBaud 중 하나이고 stretch는 1~9 multiplier이며 두 defaults는 module parameters로 조정할 수 있습니다.