2.90.35 PWM_TriggerCCompareValueSet Function

C

inline static void PWM_TriggerCCompareValueSet(PWM_GENERATOR genNum,uint32_t trigA)

Summary

This inline function sets the Trigger C compare value in count for a specific PWM generator selected by the argument PWM_GENERATOR Enum

Description

This function sets the trigger C 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

ParamDescription
genNumPWM generator number
trigCTrigger C compare value in count

Returns

None

Example

uint16_t trigC;
trigC = 0xF;
PWM_TriggerCCompareValueSet(PWM_GENERATOR_1, trigC);

Remarks

None