Eine aufbereitete Darstellung der Quelle

 
     
 
 
Anforderungen  |   Konzepte  |   Entwurf  |   Entwicklung  |   Qualitätssicherung  |   Lebenszyklus  |   Steuerung
 
 
 
 

Benutzer

Quelle  pwm-gpio.yaml   Sprache: unbekannt

 
Spracherkennung für: .yaml vermutete Sprache: Unknown {[0] [0] [0]} [Methode: Schwerpunktbildung, einfache Gewichte, sechs Dimensionen]

# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
%YAML 1.2
---
$id: http://devicetree.org/schemas/pwm/pwm-gpio.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#

title: Generic software PWM for modulating GPIOs

maintainers:
  - Stefan Wahren <wahrenst@gmx.net>

allOf:
  - $ref: pwm.yaml#

properties:
  compatible:
    const: pwm-gpio

  "#pwm-cells":
    const: 3
    description:
      See pwm.yaml in this directory for a description of the cells format.
      The first cell which represents the PWM instance number must always
      be zero.

  gpios:
    description:
      GPIO to be modulated
    maxItems: 1

required:
  - compatible
  - "#pwm-cells"
  - gpios

additionalProperties: false

examples:
  - |
    #include <dt-bindings/gpio/gpio.h>

    pwm {
        #pwm-cells = <3>;
        compatible = "pwm-gpio";
        gpios = <&gpio 1 GPIO_ACTIVE_HIGH>;
    };

[Dauer der Verarbeitung: 0.2 Sekunden, vorverarbeitet 2026-06-07]

                                                                                                                                                                                                                                                                                                                                                                                                     


Neuigkeiten

     Aktuelles
     Motto des Tages

Open Source Software

     Quellcodebibliothek
     Eigene Quellcodes
     Fremde Quellcodes
     Suchen

Jenseits des Üblichen ....

Besucherstatistik

Besucherstatistik

Statistik
#Sources=277311
#Domains=655579