요약·해설, 영어 원문, 전체 번역을 구분해 실었습니다. API 이름, 코드 심벌, 소스 경로는 원문 표기를 유지합니다.
1. 요약·해설
원문의 핵심 내용을 정리하고 커널 프로그래밍에 필요한 설명을 덧붙였습니다. 아래의 전체 번역과는 별도로 작성한 해설입니다.
Power state
sysfs-bus-i2c-devices-hm6352:8-13power_state에 0을 설정하면 device가 sleep mode로 들어가고 1을 설정하면 깨어납니다.
Calibration state
sysfs-bus-i2c-devices-hm6352:15-20calibration은 1로 calibration을 켜고 0으로 끄며 자세한 동작은 chip data sheet를 따릅니다.
2. 영어 원문 전체
번역에 사용한 Linux v6.18.37 원문입니다. 줄 번호는 해당 버전의 소스 파일을 기준으로 합니다.
원문 전체 펼치기
1
What: /sys/bus/i2c/devices/.../heading0_input
2
Date: April 2010
3
KernelVersion: 2.6.36?
4
Contact: [email protected]
5
Description: Reports the current heading from the compass as a floating
6
point value in degrees.
8
What: /sys/bus/i2c/devices/.../power_state
9
Date: April 2010
10
KernelVersion: 2.6.36?
11
Contact: [email protected]
12
Description: Sets the power state of the device. 0 sets the device into
13
sleep mode, 1 wakes it up.
15
What: /sys/bus/i2c/devices/.../calibration
16
Date: April 2010
17
KernelVersion: 2.6.36?
18
Contact: [email protected]
19
Description: Sets the calibration on or off (1 = on, 0 = off). See the
20
chip data sheet.
3. 한국어 전문 번역
영어 원문의 문단 순서와 의미에 맞춰 전체 내용을 번역했습니다. 코드, 함수명, 코드 심벌, URL은 원문 표기를 유지합니다.
Compass heading
1-6| 항목 | 전문 번역 |
|---|---|
| What | /sys/bus/i2c/devices/.../heading0_input |
| Date | 2010년 4월 |
| KernelVersion | 2.6.36? |
| Contact | [email protected] |
| Description | Compass의 현재 heading을 degree 단위의 floating-point 값으로 보고합니다. |
Power state
8-13| 항목 | 전문 번역 |
|---|---|
| What | /sys/bus/i2c/devices/.../power_state |
| Date | 2010년 4월 |
| KernelVersion | 2.6.36? |
| Contact | [email protected] |
| Description | Device의 power state를 설정합니다. 0은 device를 sleep mode로 설정하고 1은 device를 깨웁니다. |
Calibration state
15-20| 항목 | 전문 번역 |
|---|---|
| What | /sys/bus/i2c/devices/.../calibration |
| Date | 2010년 4월 |
| KernelVersion | 2.6.36? |
| Contact | [email protected] |
| Description | Calibration을 켜거나 끕니다(1 = on, 0 = off). Chip data sheet를 참조하십시오. |
Compass heading
sysfs-bus-i2c-devices-hm6352:1-6heading0_input은 현재 compass heading을 degree 단위 floating-point 값으로 보고합니다.