Simple "hello world" style program for X-NUCLEO-IKS01A1 MEMS Inertial

Dependencies:   BLE_API X_NUCLEO_IDB0XA1 X_NUCLEO_IKS01A1 mbed

Fork of HelloWorld_IKS01A1 by ST

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 TIM2, TIM5 and TIM11 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 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

Definition at line 3160 of file stm32f4xx_tim.c.