CARME-M4 BSP  V1.5
Specific remapping management function

Specific remapping management function. More...

+ Collaboration diagram for Specific remapping management function:

Functions

void TIM_RemapConfig (TIM_TypeDef *TIMx, uint16_t TIM_Remap)
 Configures the TIM2, TIM5 and TIM11 Remapping input capabilities. More...
 

Detailed Description

Specific remapping management function.

 ===============================================================================
              ##### Specific remapping management function #####
 ===============================================================================  

Function Documentation

void TIM_RemapConfig ( TIM_TypeDef *  TIMx,
uint16_t  TIM_Remap 
)

Configures the TIM2, TIM5 and TIM11 Remapping input capabilities.

Parameters
TIMxwhere x can be 2, 5 or 11 to select the TIM peripheral.
TIM_Remapspecifies the TIM input remapping source. This parameter can be one of the following values:
  • TIM2_TIM8_TRGO: TIM2 ITR1 input is connected to TIM8 Trigger output(default)
  • TIM2_ETH_PTP: TIM2 ITR1 input is connected to ETH PTP trogger output.
  • TIM2_USBFS_SOF: TIM2 ITR1 input is connected to USB FS SOF.
  • TIM2_USBHS_SOF: TIM2 ITR1 input is connected to USB HS SOF.
  • TIM5_GPIO: TIM5 CH4 input is connected to dedicated Timer pin(default)
  • TIM5_LSI: TIM5 CH4 input is connected to LSI clock.
  • TIM5_LSE: TIM5 CH4 input is connected to LSE clock.
  • TIM5_RTC: TIM5 CH4 input is connected to RTC Output event.
  • TIM11_GPIO: TIM11 CH4 input is connected to dedicated Timer pin(default)
  • TIM11_HSE: TIM11 CH4 input is connected to HSE_RTC clock (HSE divided by a programmable prescaler)
Return values
None

Definition at line 3173 of file stm32f4xx_tim.c.