PWM Alignment

group group_tcpwm_pwm_alignment

Sets the alignment of the PWM.

Defines

CY_TCPWM_PWM_LEFT_ALIGN

PWM is left aligned, meaning it starts high.

CY_TCPWM_PWM_RIGHT_ALIGN

PWM is right aligned, meaning it starts low.

CY_TCPWM_PWM_CENTER_ALIGN

PWM is centered aligned, terminal count only occurs on underflow.

CY_TCPWM_PWM_ASYMMETRIC_ALIGN

PWM is asymmetrically aligned, terminal count occurs on overflow and underflow.

CY_TCPWM_PWM_ASYMMETRIC_CC0_CC1_ALIGN

PWM is asymmetrically aligned, line pulse period is equal to CC1-CC0.

CY_TCPWM_PWM_CENTER_ASYMMETRIC_CC0_CC1_ALIGN

PWM is asymmetrically aligned, TBD.