This is the documentation for the latest (main) development branch of Zephyr. If you are looking for the documentation of previous releases, use the drop-down menu on the left and select the desired version.

CONFIG_PWM_CAPTURE

Provide API for PWM capture

Type: bool

Help

This option extends the Zephyr PWM API with the ability to capture PWM
period/pulse widths.

Direct dependencies

PWM

(Includes any dependencies from ifs and menus.)

Defaults

No defaults. Implicitly defaults to n.

Kconfig definition

At drivers/pwm/Kconfig:24

Included via Kconfig:8Kconfig.zephyr:42drivers/Kconfig:46

Menu path: (Top) → Device Drivers → PWM (Pulse Width Modulation) Drivers

config PWM_CAPTURE
    bool "Provide API for PWM capture"
    depends on PWM
    help
      This option extends the Zephyr PWM API with the ability to capture PWM
      period/pulse widths.

(The ‘depends on’ condition includes propagated dependencies from ifs and menus.)