build/dts/api/bindings/led/pwm-leds.html · build/dts/api/bindings/led/pwm-leds.rst 공식 원문 ↗

Zephyr 3.7.0 · Devicetree · LED · Generic or vendor-independent

PWM LEDs Parent 바인딩

PWM period와 brightness granularity를 갖는 child LED를 정의하는 2개 property schema입니다.

Official pathbuild/dts/api/bindings/led/pwm-leds.html
Source filebuild/dts/api/bindings/led/pwm-leds.rst
Source versionZephyr 3.7.0
TranslationFull · reviewed

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

Part 1

요약·해설

공식 원문 73줄과 property 2행을 전수 대조해 required PWM reference·recommended period window·optional label 제약을 보존했습니다.

Compatible

pwm-leds

Vendor

Generic or vendor-independent

Properties

2 rows

Interface

one PWM specifier per child LED

Part 2

접을 수 있는 영어 원문 전체

영어 원문 전체 펼치기
원문 SHA-256 19B97A2DE56E5CA1861BFD3E2073A713E255CD92E83E86856E999E141A9370BB
:orphan:

.. raw:: html

    <!--
    FIXME: do not limit page width until content uses another representation
    format other than tables
    -->
    <style>.wy-nav-content { max-width: none; !important }</style>

.. dtcompatible:: pwm-leds
.. _dtbinding_pwm_leds:

pwm-leds
########

Vendor: :ref:`Generic or vendor-independent <dt_no_vendor>`

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



.. code-block:: none

   PWM LEDs parent node

Properties
**********

Top level properties
====================

No top-level properties.

Child node properties
=====================

.. list-table::
   :widths: 1 1 4
   :header-rows: 1

   * - Name
     - Type
     - Details

   * - ``pwms``
     - ``phandle-array``
     - .. code-block:: none

          Reference to a PWM instance.

          The period field is used by the set_brightness function of the LED API.
          Its value should at least be greater that 100 nanoseconds (for a full
          brigtness granularity) and lesser than 50 milliseconds (average visual
          persistence time of the human eye). Typical values for the PWM period
          are 10 or 20 milliseconds.



       This property is **required**.

   * - ``label``
     - ``string``
     - .. code-block:: none

          Human readable string describing the LED. It can be used by an
          application to identify this LED or to retrieve its number/index
          (i.e. child node number) on the parent device.



       See :ref:`dt-important-props` for more information.

Part 3

한국어 전문 번역

pwm-leds

Vendor: Generic or vendor-independent

공식 설명

PWM LEDs parent node

PWM 하나가 child LED 하나를 구동

Top-level property는 없고 각 child에 pwms가 필수, label이 선택입니다. PWM specifier의 period field를 LED API set_brightness()가 duty 계산에 사용합니다.

공식 권장은 full brightness granularity를 위해 period가 100ns보다 크고, 사람 눈의 평균 visual persistence time인 50ms보다 작아야 한다는 것입니다. 일반적인 값은 10ms 또는 20ms입니다.

100ns와 50ms는 schema의 numeric min/max 제약이 아니라 설명문 권장 범위입니다. Top-level compatible, polarity와 PWM cell layout을 이 child-only 표에 임의로 추가하지 않았습니다.

속성 전체 번역

공식 page는 top-level/base property 없이 child property 2개만 정의합니다.

하위 노드 속성 · 2개

각 하위 노드에 적용되는 속성입니다.

이름형식설명과 제약
pwmsphandle-arrayLED를 구동할 PWM instance의 specifier입니다. Period field는 LED API의 set_brightness()가 사용합니다.
필수
labelstringApplication이 LED를 식별하거나 parent 안의 child 번호를 찾는 데 사용할 사람이 읽을 수 있는 문자열입니다.

Source

출처

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