STM32F4 Standard Peripheral bibliotheek  1.0
ST Microelectronics bibliotheek documentatie voor de STM32F4 Standard Peripheral Library
 All Data Structures Files Functions Variables Enumerations Enumerator Groups
Specific remapping management function

Specific remapping management function. More...

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
TIMx,:where x can be 2, 5 or 11 to select the TIM peripheral.
TIM_Remap,:specifies 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