2.90.23 PWM_OverrideDataSet Function
C
inline static void PWM_OverrideDataSet(PWM_GENERATOR genNum,uint16_t overrideData)
Summary
This inline function updates PWM override data bits with the requested value for a specific PWM generator selected by the argument PWM_GENERATOR Enum
Description
This function updates the override data of the PWM generator. Override data allows you to manipulate the PWM signals for specific generator outputs.
Precondition
None
Parameters
Param | Description |
---|---|
genNum | PWM generator number |
overrideData | Override data |
Returns
None
Example
uint16_t overrideData; overrideData = 0x01; PWM_OverrideDataSet(PWM_GENERATOR_1, overrideData);
Remarks
None