/* Clears the Master and slaves interrupt request pending bits.  */
void HRTIM_ClearITPendingBit(HRTIM_TypeDef *HRTIMx, uint32_t TimerIdx, uint32_t HRTIM_IT)
/* Clears the Master and slaves interrupt request pending bits.  */
void HRTIM_ClearITPendingBit(HRTIM_TypeDef *HRTIMx, uint32_t TimerIdx, uint32_t HRTIM_IT)
{
  assert_param(IS_HRTIM_TIMERINDEX(TimerIdx));
  switch(TimerIdx)
  {
    case HRTIM_TIMERINDEX_MASTER:
    {
      HRTIMx->HRTIM_MASTER.MICR |= HRTIM_IT;
    }
    break;
    case HRTIM_TIMERINDEX_TIMER_A:
    case HRTIM_TIMERINDEX_TIMER_B:
    case HRTIM_TIMERINDEX_TIMER_C:
    case HRTIM_TIMERINDEX_TIMER_D:
    case HRTIM_TIMERINDEX_TIMER_E:
    {
      HRTIMx->HRTIM_TIMERx[TimerIdx].TIMxICR |= HRTIM_IT;
    }
    break;
    default:
    break;  
  }    
}