keil_examples/PWM/pwm.c
/******************************************************************************
** Function name:		PWM_Stop
**
** Descriptions:		Stop all PWM channels
**
** parameters:			channel number
** Returned value:		None
** 
******************************************************************************/
Function name:         PWM_Stop
Descriptions:          Stop all PWM channels

channel number
Returned value:                None
Function name : PWM_Stop Descriptions : Stop all PWM channels channel number Returned value : None
void PWM_Stop( uint32_t channelNum )
{
  if ( channelNum == 1 )
  {
	LPC_PWM1->PCR = 0;
	LPC_PWM1->TCR = 0x00;		
  }
  return;
}
void PWM_Stop ( uint32_t channelNum ) { if ( channelNum == 1 ) { LPC_PWM1 -> PCR = 0 ; LPC_PWM1 -> TCR = 0x00 ; } return ; }
Function name:         PWM_Stop
Descriptions:          Stop all PWM channels
Function name : PWM_Stop Descriptions : Stop all PWM channels
/* Stop all PWMs */