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.

st,stm32-pwm

Vendor: STMicroelectronics

Description

STM32 PWM

Properties

Properties not inherited from the base binding file.

Name

Type

Details

st,prescaler

int

Clock prescaler at the input of the timer

This property is required.

pinctrl-0

phandles

GPIO pin configuration for PWM signal/s. We expect that the phandles
will reference pinctrl nodes, e.g.

   pinctrl-0 = <&tim1_ch1_pwm_pa8 &tim1_ch2_pwm_pa9>;

#pwm-cells

int

Number of items to expect in a pwm specifier

This property is required.

Constant value: 3

Specifier cell names

  • pwm cells: channel, period, flags