← Documents Documentation/ABI/stable/sysfs-driver-w1_ds2438 GitHub 원문 ↗

Linux 6.18.37 · ABI / stable

1-Wire DS2438 stable sysfs ABI

DS2438 1-Wire device의 page1 내용을 읽고 offset register를 기록하는 두 sysfs ABI와 세부 register 문서 위치를 설명합니다.

Source pathDocumentation/ABI/stable/sysfs-driver-w1_ds2438
Source versionLinux v6.18.37
TranslationDUJINLABS 전문 번역 + 해설

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

1. 요약·해설

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

Page1 read와 offset write

sysfs-driver-w1_ds2438:1-13

User-space application이 DS2438 page1 data를 읽고 offset register를 설정할 수 있습니다.

2. 영어 원문 전체

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

원문 전체 펼치기
1 What: /sys/bus/w1/devices/.../page1
2 Date: April 2021
3 Contact: Luiz Sampaio <sampaio.ime@gmail.com>
4 Description: read the contents of the page1 of the DS2438
5 see Documentation/w1/slaves/w1_ds2438.rst for detailed information
6 Users: any user space application which wants to communicate with DS2438
7
8 What: /sys/bus/w1/devices/.../offset
9 Date: April 2021
10 Contact: Luiz Sampaio <sampaio.ime@gmail.com>
11 Description: write the contents to the offset register of the DS2438
12 see Documentation/w1/slaves/w1_ds2438.rst for detailed information
13 Users: any user space application which wants to communicate with DS2438
14

3. 한국어 전문 번역

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

DS2438 page1과 offset register

1-13

두 ABI는 2021년 4월에 도입됐고 Luiz Sampaio <sampaio.ime@gmail.com>가 담당한다. 사용자는 DS2438과 통신하려는 모든 user-space application이다.

경로방향설명
/sys/bus/w1/devices/.../page1readDS2438의 page1 내용을 읽는다.
/sys/bus/w1/devices/.../offsetwriteDS2438의 offset register에 내용을 기록한다.
User space와 DS2438 register 접근
User-space applicationw1 sysfsDS2438
01 page1 read/devices/.../page1Page1 contents 반환
02 offset value write/devices/.../offsetOffset register 갱신

page1은 device에서 user space로 읽고 offset은 user space에서 device로 기록하는 반대 방향의 interface다.

Register layout과 값의 세부 의미는 Documentation/w1/slaves/w1_ds2438.rst를 참조한다.