samples/sensor/tmp108/README.html · samples/sensor/tmp108/README.rst 공식 원문 ↗

Zephyr 3.7.0 · Samples · Sensor · Temperature

TMP108 sample

ti,tmp108 Devicetree device에서 temperature를 읽고 low-power option을 구성합니다.

Official pathsamples/sensor/tmp108/README.html
Source filesamples/sensor/tmp108/README.rst
Source versionZephyr 3.7.0
TranslationFull · reviewed

본문 기준: Zephyr 3.7.0 LTS3 · 이후 유지보수 패치는 별도입니다.

Part 1

요약·해설

Compatible-node 요구 사항과 8줄 실제 출력을 보존합니다.

Sensor

TMP108

Period

3 seconds

Optional

Alert · One-shot

Part 2

접을 수 있는 영어 원문 전체

영어 원문 전체 펼치기
원문 SHA-256 BAA61469A01EE4DE0240EE81CAA98329C0641087FE0060F4EB16DA848F97FCB6
.. _tmp108_sample:

TMP108 sample
#############

Description
***********

This sample writes the temperature to the console once every 3 seconds. There are
macro definitions included for turning off and on alerts if that is set up, and
also using low power one shot mode.

Requirements
************

A board with the :dtcompatible:`ti,tmp108` built in to its :ref:`devicetree <dt-guide>`,
or a devicetree overlay with such a node added.

Sample Output
=============

.. code-block:: console

	** Booting Zephyr OS build zephyr-v2.6.0-1923-g72bb75a360ce  ***
	TI TMP108 Example, arm
	Temperature is 22.875C
	Temperature is 22.875C
	Temperature is 22.875C
	Temperature is 22.875C
	Temperature is 22.875C
	Temperature is 22.875C

Part 3

한국어 전문 번역

설명

이 sample은 3초마다 한 번씩 temperature를 console에 기록합니다. Alert를 구성한 경우 이를 끄고 켜는 macro definition과 low-power one-shot mode를 사용하는 definition도 포함합니다.

요구 사항

Devicetree에 ti,tmp108 compatible이 내장된 board 또는 해당 node를 추가한 Devicetree overlay가 필요합니다.

출력 예

** Booting Zephyr OS build zephyr-v2.6.0-1923-g72bb75a360ce  ***
TI TMP108 Example, arm
Temperature is 22.875C
Temperature is 22.875C
Temperature is 22.875C
Temperature is 22.875C
Temperature is 22.875C
Temperature is 22.875C

ARM target에서 22.875°C를 3초마다 반복 출력하는 예입니다.

Source

출처

영어 원문에는 문단, 문서 지시문, 표, 코드, 코드 심벌, 경로를 그대로 보존했습니다.