Zephyr API Documentation 4.2.99
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
pwm_ifx_tcpwm.h File Reference

Go to the source code of this file.

Macros

#define PWM_IFX_SYSCLK_DIV_8_BIT   0
 Divider Type.
#define PWM_IFX_SYSCLK_DIV_16_BIT   1
#define PWM_IFX_TCPWM_OUTPUT_HIGHZ   0
 Custom PWM flags for Infineon TCPWM These flags can be used with the PWM API in the upper 8 bits of pwm_flags_t.
#define PWM_IFX_TCPWM_OUTPUT_RETAIN   1
#define PWM_IFX_TCPWM_OUTPUT_LOW   2
#define PWM_IFX_TCPWM_OUTPUT_HIGH   3
#define PWM_IFX_TCPWM_OUTPUT_MASK   0x3
#define PWM_IFX_TCPWM_OUTPUT_POS   8 /* Place at the end of flags */

Macro Definition Documentation

◆ PWM_IFX_SYSCLK_DIV_16_BIT

#define PWM_IFX_SYSCLK_DIV_16_BIT   1

◆ PWM_IFX_SYSCLK_DIV_8_BIT

#define PWM_IFX_SYSCLK_DIV_8_BIT   0

Divider Type.

◆ PWM_IFX_TCPWM_OUTPUT_HIGH

#define PWM_IFX_TCPWM_OUTPUT_HIGH   3

◆ PWM_IFX_TCPWM_OUTPUT_HIGHZ

#define PWM_IFX_TCPWM_OUTPUT_HIGHZ   0

Custom PWM flags for Infineon TCPWM These flags can be used with the PWM API in the upper 8 bits of pwm_flags_t.

They allow configuring the output behavior of the PWM pins when the PWM is disabled.

◆ PWM_IFX_TCPWM_OUTPUT_LOW

#define PWM_IFX_TCPWM_OUTPUT_LOW   2

◆ PWM_IFX_TCPWM_OUTPUT_MASK

#define PWM_IFX_TCPWM_OUTPUT_MASK   0x3

◆ PWM_IFX_TCPWM_OUTPUT_POS

#define PWM_IFX_TCPWM_OUTPUT_POS   8 /* Place at the end of flags */

◆ PWM_IFX_TCPWM_OUTPUT_RETAIN

#define PWM_IFX_TCPWM_OUTPUT_RETAIN   1