keil_examples/PWM/pwm.c
/******************************************************************************
** Function name:		PWM1_IRQHandler
**
** Descriptions:		PWM1 interrupt handler
**						For now, it only deals with PWM1 match 0
**
** parameters:			None
** Returned value:		None
** 
******************************************************************************/
Function name:         PWM1_IRQHandler
Descriptions:          PWM1 interrupt handler
For now, it only deals with PWM1 match 0

None
Returned value:                None
Function name : PWM1_IRQHandler Descriptions : PWM1 interrupt handler For now it only deals with PWM1 match 0 None Returned value : None
void PWM1_IRQHandler (void) 
{
  uint32_t regVal;
  regVal = LPC_PWM1->IR;
  if ( regVal & MR0_INT )
  {
	match_counter1++;	
  }
  LPC_PWM1->IR |= regVal;		
  return;
}
void PWM1_IRQHandler ( void ) { uint32_t regVal ; regVal = LPC_PWM1 -> IR ; if ( regVal & MR0_INT ) { match_counter1 ++ ; } LPC_PWM1 -> IR |= regVal ; return ; }
Function name:         PWM1_IRQHandler
Descriptions:          PWM1 interrupt handler
For now, it only deals with PWM1 match 0
Function name : PWM1_IRQHandler Descriptions : PWM1 interrupt handler For now it only deals with PWM1 match 0
/* clear interrupt flag on match 0 */