samples/drivers/i2c/target_eeprom/README.html · samples/drivers/i2c/target_eeprom/README.rst 공식 원문 ↗

Zephyr 3.7.0 · Samples · Drivers · I2C

I2C EEPROM Target

zephyr,i2c-target-eeprom 호환 device로 I2C target API를 시험합니다.

Official pathsamples/drivers/i2c/target_eeprom/README.html
Source filesamples/drivers/i2c/target_eeprom/README.rst
Source versionZephyr 3.7.0
TranslationFull · reviewed

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

Part 1

요약·해설

Custom target 문서와 구분되는 EEPROM compatible 및 공통 build 경로를 보존합니다.

Compatible

zephyr,i2c-target-eeprom

Board

LPCXpresso55S69

Role

EEPROM target

Part 2

접을 수 있는 영어 원문 전체

영어 원문 전체 펼치기
원문 SHA-256 F03FB0C9C3876851BAB0A444B40BB57D4DC294BE54A4F24D001295BA58221D2E
.. zephyr:code-sample:: i2c-eeprom-target
   :name: I2C Target
   :relevant-api: i2c_interface

   Setup an I2C target on the I2C interface.

Overview
********

This sample demonstrates how to setup and use the :ref:`i2c-target-api` using the
:dtcompatible:`zephyr,i2c-target-eeprom` device.

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

This sample requires an I2C peripheral which is capable of acting as a target.

This sample has been tested on :ref:`lpcxpresso55s69`.

Building and Running
********************

The code for this sample can be found in :zephyr_file:`samples/drivers/i2c_target`.

To build and flash the application:

.. zephyr-app-commands::
   :zephyr-app: samples/drivers/i2c_target
   :board: lpcxpresso55s69/lpc55s69/cpu0
   :goals: flash
   :compact:

Part 3

한국어 전문 번역

개요

이 sample은 zephyr,i2c-target-eeprom device를 사용해 I2C target API를 설정하고 이용하는 방법을 보여줍니다.

요구 사항

이 sample에는 target으로 동작할 수 있는 I2C peripheral이 필요합니다.

이 sample은 lpcxpresso55s69에서 시험되었습니다.

Build와 실행

이 sample의 code는 samples/drivers/i2c_target에서 찾을 수 있습니다.

Application을 build하고 flash하려면 다음 명령을 사용합니다.

west build -b lpcxpresso55s69/lpc55s69/cpu0 samples/drivers/i2c_target
west flash

Source

출처

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