/* Enables or Disables the master & slave Timer synchronous function.  */
void TimerSyncConfigure(unsigned long ulBase, unsigned long ulConfigure)
/* Enables or Disables the master & slave Timer synchronous function.  */
void TimerSyncConfigure(unsigned long ulBase, unsigned long ulConfigure)
{
    xASSERT((ulBase == TIMER1_BASE) || (ulBase == TIMER0_BASE));
    xASSERT((ulConfigure == TIMER_SYNC_ENABLE) ||
            (ulConfigure == TIMER_SYNC_DISABLE));
    xHWREG(ulBase + TIMER_MDCFR) &= ~TIMER_MDCFR_SMSEL_TSE;
    xHWREG(ulBase + TIMER_MDCFR) |= ulConfigure;
}