Other Parts Discussed in Thread: SYSCONFIG
Although only 0 1 2 channels enabled, the .isTimerWithFourCC = true in DL_TimerA_PWMConfig is automatically set as true,
which results in
SYSCFG_DL_LED_RGB_init --> DL_TimerA_initPWMMode --> true == config->isTimerWithFourCC -->
case DL_TIMER_PWM_MODE_EDGE_ALIGN_UP:
DL_Timer_setCaptureCompareAction(gptimer, (DL_TIMER_CC_LACT_CCP_LOW | DL_TIMER_CC_CUACT_CCP_HIGH), DL_TIMER_CC_2_INDEX);
is executed.
I have to manually re-config CCACT of channel 2 as DL_TIMER_CC_LACT_DISABLED | DL_TIMER_CC_CUACT_CCP_LOW | DL_TIMER_CC_ZACT_CCP_HIGH (same as channel 0 and 1).
Any clue to disable (isTimerWithFourCC = true) by sysconfig setting?