/* This function is used to select the interrupt source used to trigger other modules.  */
void TIMER_SetTriggerSource(TIMER_T *timer, uint32_t u32Src)
/* This function is used to select the interrupt source used to trigger other modules.  */
void TIMER_SetTriggerSource(TIMER_T *timer, uint32_t u32Src)
{
    timer->TRGCTL = (timer->TRGCTL & ~TIMER_TRGCTL_TRGSSEL_Msk) | u32Src;
}