Martin Johnson / STM32F3-Discovery

Dependents:   Space_Invaders_Demo neopixels gpio_test_stm32f3_discovery gpio_test_systimer ... more

Embed: (wiki syntax)

« Back to documentation index

Specific remapping management function

Specific remapping management function
[TIM_Private_Functions]

Specific remapping management function. More...

Functions

void TIM_RemapConfig (TIM_TypeDef *TIMx, uint16_t TIM_Remap)
 Configures the TIM16 Remapping input Capabilities.

Detailed Description

Specific remapping management function.

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


Function Documentation

void TIM_RemapConfig ( TIM_TypeDef *  TIMx,
uint16_t  TIM_Remap 
)

Configures the TIM16 Remapping input Capabilities.

Parameters:
TIMx,:where x can be 1, 8, 20 or 16 to select the TIM peripheral.
TIM_Remap,:specifies the TIM input remapping source. This parameter can be one of the following values:

  • TIM16_GPIO: TIM16 Channel 1 is connected to GPIO.
  • TIM16_RTC_CLK: TIM16 Channel 1 is connected to RTC input clock.
  • TIM16_HSE_DIV32: TIM16 Channel 1 is connected to HSE/32 clock.
  • TIM16_MCO: TIM16 Channel 1 is connected to MCO clock.
  • TIM1_ADC1_AWDG1: TIM1 ETR is connected to ADC1 AWDG1.
  • TIM1_ADC1_AWDG2: TIM1 ETR is connected to ADC1 AWDG2.
  • TIM1_ADC1_AWDG3: TIM1 ETR is connected to ADC1 AWDG3.
  • TIM1_ADC4_AWDG1: TIM1 ETR is connected to ADC4 AWDG1.
  • TIM1_ADC4_AWDG2: TIM1 ETR is connected to ADC4 AWDG2.
  • TIM1_ADC4_AWDG3: TIM1 ETR is connected to ADC4 AWDG3.
  • TIM8_ADC2_AWDG1: TIM8 ETR is connected to ADC2 AWDG1.
  • TIM8_ADC2_AWDG2: TIM8 ETR is connected to ADC2 AWDG2.
  • TIM8_ADC2_AWDG3: TIM8 ETR is connected to ADC2 AWDG3.
  • TIM8_ADC4_AWDG1: TIM8 ETR is connected to ADC4 AWDG1.
  • TIM8_ADC4_AWDG2: TIM8 ETR is connected to ADC4 AWDG2.
  • TIM8_ADC4_AWDG3: TIM8 ETR is connected to ADC4 AWDG3.
  • TIM20_ADC3_AWDG1: TIM20 ETR is connected to ADC3 AWDG1.
  • TIM20_ADC3_AWDG2: TIM20 ETR is connected to ADC3 AWDG2.
  • TIM20_ADC3_AWDG3: TIM20 ETR is connected to ADC3 AWDG3.
  • TIM20_ADC4_AWDG1: TIM20 ETR is connected to ADC4 AWDG1.
  • TIM20_ADC4_AWDG2: TIM20 ETR is connected to ADC4 AWDG2.
  • TIM20_ADC4_AWDG3: TIM20 ETR is connected to ADC4 AWDG3.
Return values:
:None

Definition at line 3814 of file stm32f30x_tim.c.