Zephyr API Documentation 4.0.0-rc2
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
stm32_pwm.h File Reference

Go to the source code of this file.

Macros

custom PWM complementary flags for output pins

This flag can be used with any of the pwm_pin_set_* API calls to indicate that the PWM signal has to be routed to the complementary output channel.

This feature is only available on certain SoC families, refer to the binding's documentation for more details. The custom flags are on the upper 8bits of the pwm_flags_t

#define STM32_PWM_COMPLEMENTARY   (1U << 8)
 PWM complementary output pin is enabled.
 
#define PWM_STM32_COMPLEMENTARY   (1U << 8)
 

Macro Definition Documentation

◆ PWM_STM32_COMPLEMENTARY

#define PWM_STM32_COMPLEMENTARY   (1U << 8)
Deprecated
Use the PWM complementary STM32_PWM_COMPLEMENTARY flag instead.

◆ STM32_PWM_COMPLEMENTARY

#define STM32_PWM_COMPLEMENTARY   (1U << 8)

PWM complementary output pin is enabled.