/* Enables the timer/counter for a PWM generator block. */
void PWMGenEnable(unsigned long ulBase, unsigned long ulGen)
/* Enables the timer/counter for a PWM generator block. */
void PWMGenEnable(unsigned long ulBase, unsigned long ulGen)
{
    ASSERT(ulBase == PWM_BASE);
    ASSERT(PWMGenValid(ulGen));
    HWREG(PWM_GEN_BADDR(ulBase, ulGen) + PWM_O_X_CTL) |= PWM_X_CTL_ENABLE;
}