/* Selects the TIM Group Channel 5 and Channel 2, OC2REFC is the logical AND of OC2REFC and OC5REF.  */
void TIM_SelectGC5C2(TIM_TypeDef *TIMx, FunctionalState NewState)
/* Selects the TIM Group Channel 5 and Channel 2, OC2REFC is the logical AND of OC2REFC and OC5REF.  */
void TIM_SelectGC5C2(TIM_TypeDef *TIMx, FunctionalState NewState)
{
  assert_param(IS_TIM_LIST4_PERIPH(TIMx));
  assert_param(IS_FUNCTIONAL_STATE(NewState));
  if (NewState != DISABLE)
  {
    TIMx->CCR5 |= TIM_CCR5_GC5C2;
  }
  else
  {
    TIMx->CCR5 &= (uint32_t)~TIM_CCR5_GC5C2;
  }
}