Part 1
요약·해설
LPCXpresso55S69 시험 대상과 실제 source·build 경로를 보존합니다.
Role
I2C target
Board
LPCXpresso55S69
Core
cpu0
Part 2
접을 수 있는 영어 원문 전체
영어 원문 전체 펼치기
원문 SHA-256
9C46CE1BEF1A0552C3CB521716FCFA5163AE936E1AE1AE9CB9FCFA9359983F37
.. zephyr:code-sample:: i2c-custom-target
:name: I2C Custom Target
:relevant-api: i2c_interface
Setup a custom I2C target on the I2C interface.
Overview
********
This sample demonstrates how to setup an I2C custom target on the I2C interface
using the :ref:`i2c-target-api`.
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은 I2C target API를 사용해 I2C interface에 custom I2C target을 설정하는 방법을 보여줍니다.
요구 사항
이 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
출처
영어 원문에는 문단, 문서 지시문, 표, 코드, 코드 심벌, 경로를 그대로 보존했습니다.