2.90.34 PWM_TriggerBCompareValueSet Function
C
inline static void PWM_TriggerBCompareValueSet(PWM_GENERATOR genNum,uint32_t trigB)
Summary
This inline function sets the Trigger B compare value in count for a specific PWM generator selected by the argument PWM_GENERATOR Enum
Description
This function sets the trigger B 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 |
trigB | Trigger B compare value in count |
Returns
None
Example
uint16_t trigB; trigB = 0xF; PWM_TriggerBCompareValueSet(PWM_GENERATOR_1, trigB);
Remarks
None