3.3.22.7 tmcPwm_State_s Struct

C

typedef struct
{
    bool enable;                        /* Flag indicating PWM module enable status */
    bool initDone;                      /* Flag indicating PWM module initialization status */
    int16_t pwmPeriodCount;             /* PWM period count value */
    int16_t minPeriodCount;             /* Min PWM period count value */
    int16_t maxPeriodCount;             /* Max PWM period count value */
    float32_t maxModIndex;              /* Max Modulation Index value */
    float32_t uBusFactor;               /* DC bus voltage utilization factor */
}tmcPwm_State_s;
 

Summary

Structure defining the state of the PWM module

Description

This structure holds the parameters for the PWM module. It includes control flags, modulation index and the PWM period count

Remarks

None.