/* Configures the routing interface to select which Input Output pin to be routed to TIM1 Input Capture.  */
void SYSCFG_RITIMInputCaptureConfig(RI_InputCapture_TypeDef RI_InputCapture, RI_InputCaptureRouting_TypeDef RI_InputCaptureRouting)
/* Configures the routing interface to select which Input Output pin to be routed to TIM1 Input Capture.  */
void SYSCFG_RITIMInputCaptureConfig(RI_InputCapture_TypeDef RI_InputCapture, RI_InputCaptureRouting_TypeDef RI_InputCaptureRouting)
{
  assert_param(IS_RI_INPUTCAPTURE(RI_InputCapture));
  assert_param(IS_RI_INPUTCAPTUREROUTING(RI_InputCaptureRouting));
  if (RI_InputCapture == RI_InputCapture_IC2)
  {
    RI->ICR1 = (uint8_t) RI_InputCaptureRouting;
  }
  else
  {
    RI->ICR2 = (uint8_t) RI_InputCaptureRouting;
  }
}