/* Stop the PWM of the PWM module. 
The  */
void PWMStop(unsigned long ulBase, unsigned long ulChannel)
/* Stop the PWM of the PWM module. 
The  */
void PWMStop(unsigned long ulBase, unsigned long ulChannel)
{
    unsigned long ulChannelTemp;
    ulChannelTemp = (ulBase == PWMA_BASE) ? ulChannel : (ulChannel - 4);
    xASSERT(ulBase == PWMA_BASE);
    xASSERT(((ulChannelTemp >= 0) || (ulChannelTemp <= 3)));
    xHWREG(ulBase + PWM_PCR) &= ~(PWM_PCR_CH0EN << (ulChannelTemp << 3));
}