3.3.22.4 mcPwmI_PulseWidthModulationDisable
C
/* Disable PWM modulator */ mcPwmI_PulseWidthModulationDisable( tmcPwm_Parameters_s * const pParameters )
Summary
Disables the PWM modulator.
Description
This function disables the PWM modulator by linking the state variables, resetting the module if necessary. It checks the module initialization state, resets the module if it is initialized, and then disable the control module by updating the state variables and clearing the enable flag.
Precondition
None.
Parameters
Param | Description |
---|---|
pParameters | A pointer to the PWM module parameter structure |
Returns
None
Example
// Define the PWM modulator data structure
tmcPwm_Parameters_s pwmParameters;
/** Disable PWM modulator */
mcPwmI_PulseWidthModulationDisable(&pwmParameters);
Remarks
None.