3.3.22.8 tmcPwm_Parameters_s Struct

C

/* PWM module parameter structure: Floating point version */
typedef struct
{
     uint16_t pwmPeriodCount;  /* PWM period count */
     uint16_t deadTimeCount;   /* Dead time count */
     float32_t maxModIndex;    /* Maximum modulation index value */
     void * pStatePointer;     /* Pointer to state information */
}tmcPwm_Parameters_s;

/* PWM module parameter structure: Fixed point version */
typedef struct
{
    uint16_t pwmPeriodCount; /* PWM period count */
    void * pStatePointer;    /* Pointer to state information */
} tmcPwm_Parameters_s;

Summary

PWM module parameter structure.

Description

This structure defines the parameters for configuring a PWM (Pulse Width Modulation) module, including the period count, dead time, modulation index, and a pointer to the module's state information.

Remarks

Refer the generated header file for the exact typedef signature.