2.90.33 PWM_TriggerACompareValueSet Function
C
inline static void PWM_TriggerACompareValueSet(PWM_GENERATOR genNum,uint32_t trigA)
Summary
This inline function sets the Trigger A compare value in count for a specific PWM generator selected by the argument PWM_GENERATOR Enum
Description
This function sets the trigger A compare value for the specified PWM generator, which determines the timing for triggering other events or signals.
Precondition
Refer datasheet for valid size of data bits.
Parameters
Param | Description |
---|---|
genNum | PWM generator number |
trigA | Trigger A compare value in count |
Returns
None
Example
uint16_t trigA; trigA = 0xF; PWM_TriggerACompareValueSet(PWM_GENERATOR_1, trigA);
Remarks
None