← Documents Documentation/ABI/testing/sysfs-bus-i2c-devices-hm6352 GitHub 원문 ↗

Linux 6.18.37 · ABI / testing

HM6352 compass sysfs ABI

HM6352 compass의 degree heading, sleep·wake power state와 calibration enable state를 설명합니다.

Source pathDocumentation/ABI/testing/sysfs-bus-i2c-devices-hm6352
Source versionLinux v6.18.37
TranslationDUJINLABS 전문 번역 + 해설

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

1. 요약·해설

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

Compass heading

sysfs-bus-i2c-devices-hm6352:1-6

heading0_input은 현재 compass heading을 degree 단위 floating-point 값으로 보고합니다.

Power state

sysfs-bus-i2c-devices-hm6352:8-13

power_state에 0을 설정하면 device가 sleep mode로 들어가고 1을 설정하면 깨어납니다.

Calibration state

sysfs-bus-i2c-devices-hm6352:15-20

calibration은 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?
5 Description: Reports the current heading from the compass as a floating
6 point value in degrees.
7
8 What: /sys/bus/i2c/devices/.../power_state
9 Date: April 2010
10 KernelVersion: 2.6.36?
12 Description: Sets the power state of the device. 0 sets the device into
13 sleep mode, 1 wakes it up.
14
15 What: /sys/bus/i2c/devices/.../calibration
16 Date: April 2010
17 KernelVersion: 2.6.36?
19 Description: Sets the calibration on or off (1 = on, 0 = off). See the
20 chip data sheet.
21
22

3. 한국어 전문 번역

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

Compass heading

1-6
항목전문 번역
What/sys/bus/i2c/devices/.../heading0_input
Date2010년 4월
KernelVersion2.6.36?
Contact[email protected]
DescriptionCompass의 현재 heading을 degree 단위의 floating-point 값으로 보고합니다.

Power state

8-13
항목전문 번역
What/sys/bus/i2c/devices/.../power_state
Date2010년 4월
KernelVersion2.6.36?
Contact[email protected]
DescriptionDevice의 power state를 설정합니다. 0은 device를 sleep mode로 설정하고 1은 device를 깨웁니다.

Calibration state

15-20
항목전문 번역
What/sys/bus/i2c/devices/.../calibration
Date2010년 4월
KernelVersion2.6.36?
Contact[email protected]
DescriptionCalibration을 켜거나 끕니다(1 = on, 0 = off). Chip data sheet를 참조하십시오.