Rajath Ravi / Mbed 2 deprecated ravi_blinkycode

Dependencies:   mbed

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_mort (TIM_TypeDef_mort *TIMx, uint16_t TIM_Remap)
 Configures the TIM2_MORT, TIM5_MORT and TIM11_MORT Remapping input capabilities.

Detailed Description

Specific remapping management function.

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


Function Documentation

void TIM_RemapConfig_mort ( TIM_TypeDef_mort *  TIMx,
uint16_t  TIM_Remap 
)

Configures the TIM2_MORT, TIM5_MORT and TIM11_MORT 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_MORT ITR1 input is connected to TIM8_MORT Trigger output(default)
  • TIM2_ETH_PTP_MORT: TIM2_MORT ITR1 input is connected to ETH PTP trigger output.
  • TIM2_USBFS_SOF_MORT: TIM2_MORT ITR1 input is connected to USB FS SOF.
  • TIM2_USBHS_SOF_MORT: TIM2_MORT ITR1 input is connected to USB HS SOF.
  • TIM5_GPIO: TIM5_MORT CH4 input is connected to dedicated Timer pin(default)
  • TIM5_LSI_MORT: TIM5_MORT CH4 input is connected to LSI clock.
  • TIM5_LSE_MORT: TIM5_MORT CH4 input is connected to LSE clock.
  • TIM5_RTC_MORT: TIM5_MORT CH4 input is connected to RTC Output event.
  • TIM11_GPIO_MORT: TIM11_MORT CH4 input is connected to dedicated Timer pin(default)
  • TIM11_HSE_MORT: TIM11_MORT 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_mort.c.