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

TIM_Private_Functions

TIM_Private_Functions
[TIM]

Modules

 TimeBase management functions
 

TimeBase management functions.


 Output Compare management functions
 

Output Compare management functions.


 Input Capture management functions
 

Input Capture management functions.


 Advanced-control timers (TIM1 and TIM8) specific features
 

Advanced-control timers (TIM1 and TIM8) specific features.


 Interrupts DMA and flags management functions
 

Interrupts, DMA and flags management functions.


 Clocks management functions
 

Clocks management functions.


 Synchronization management functions
 

Synchronization management functions.


 Specific interface management functions
 

Specific interface management functions.


 Specific remapping management function
 

Specific remapping management function.


Functions

static void TI1_Config (TIM_TypeDef *TIMx, uint16_t TIM_ICPolarity, uint16_t TIM_ICSelection, uint16_t TIM_ICFilter)
 Configure the TI1 as Input.
static void TI2_Config (TIM_TypeDef *TIMx, uint16_t TIM_ICPolarity, uint16_t TIM_ICSelection, uint16_t TIM_ICFilter)
 Configure the TI2 as Input.
static void TI3_Config (TIM_TypeDef *TIMx, uint16_t TIM_ICPolarity, uint16_t TIM_ICSelection, uint16_t TIM_ICFilter)
 Configure the TI3 as Input.
static void TI4_Config (TIM_TypeDef *TIMx, uint16_t TIM_ICPolarity, uint16_t TIM_ICSelection, uint16_t TIM_ICFilter)
 Configure the TI4 as Input.

Function Documentation

static void TI1_Config ( TIM_TypeDef *  TIMx,
uint16_t  TIM_ICPolarity,
uint16_t  TIM_ICSelection,
uint16_t  TIM_ICFilter 
) [static]

Configure the TI1 as Input.

Parameters:
TIMx,:where x can be 1, 2, 3, 4, 5, 8, 9, 10, 11, 12, 13 or 14 to select the TIM peripheral.
TIM_ICPolarity: The Input Polarity. This parameter can be one of the following values:

  • TIM_ICPolarity_Rising
  • TIM_ICPolarity_Falling
  • TIM_ICPolarity_BothEdge
TIM_ICSelection,:specifies the input to be used. This parameter can be one of the following values:

  • TIM_ICSelection_DirectTI: TIM Input 1 is selected to be connected to IC1.
  • TIM_ICSelection_IndirectTI: TIM Input 1 is selected to be connected to IC2.
  • TIM_ICSelection_TRC: TIM Input 1 is selected to be connected to TRC.
TIM_ICFilter,:Specifies the Input Capture Filter. This parameter must be a value between 0x00 and 0x0F.
Return values:
None

Definition at line 3191 of file stm32f4xx_tim.c.

static void TI2_Config ( TIM_TypeDef *  TIMx,
uint16_t  TIM_ICPolarity,
uint16_t  TIM_ICSelection,
uint16_t  TIM_ICFilter 
) [static]

Configure the TI2 as Input.

Parameters:
TIMx,:where x can be 1, 2, 3, 4, 5, 8, 9 or 12 to select the TIM peripheral.
TIM_ICPolarity: The Input Polarity. This parameter can be one of the following values:

  • TIM_ICPolarity_Rising
  • TIM_ICPolarity_Falling
  • TIM_ICPolarity_BothEdge
TIM_ICSelection,:specifies the input to be used. This parameter can be one of the following values:

  • TIM_ICSelection_DirectTI: TIM Input 2 is selected to be connected to IC2.
  • TIM_ICSelection_IndirectTI: TIM Input 2 is selected to be connected to IC1.
  • TIM_ICSelection_TRC: TIM Input 2 is selected to be connected to TRC.
TIM_ICFilter,:Specifies the Input Capture Filter. This parameter must be a value between 0x00 and 0x0F.
Return values:
None

Definition at line 3232 of file stm32f4xx_tim.c.

static void TI3_Config ( TIM_TypeDef *  TIMx,
uint16_t  TIM_ICPolarity,
uint16_t  TIM_ICSelection,
uint16_t  TIM_ICFilter 
) [static]

Configure the TI3 as Input.

Parameters:
TIMx,:where x can be 1, 2, 3, 4, 5 or 8 to select the TIM peripheral.
TIM_ICPolarity: The Input Polarity. This parameter can be one of the following values:

  • TIM_ICPolarity_Rising
  • TIM_ICPolarity_Falling
  • TIM_ICPolarity_BothEdge
TIM_ICSelection,:specifies the input to be used. This parameter can be one of the following values:

  • TIM_ICSelection_DirectTI: TIM Input 3 is selected to be connected to IC3.
  • TIM_ICSelection_IndirectTI: TIM Input 3 is selected to be connected to IC4.
  • TIM_ICSelection_TRC: TIM Input 3 is selected to be connected to TRC.
TIM_ICFilter,:Specifies the Input Capture Filter. This parameter must be a value between 0x00 and 0x0F.
Return values:
None

Definition at line 3274 of file stm32f4xx_tim.c.

static void TI4_Config ( TIM_TypeDef *  TIMx,
uint16_t  TIM_ICPolarity,
uint16_t  TIM_ICSelection,
uint16_t  TIM_ICFilter 
) [static]

Configure the TI4 as Input.

Parameters:
TIMx,:where x can be 1, 2, 3, 4, 5 or 8 to select the TIM peripheral.
TIM_ICPolarity: The Input Polarity. This parameter can be one of the following values:

  • TIM_ICPolarity_Rising
  • TIM_ICPolarity_Falling
  • TIM_ICPolarity_BothEdge
TIM_ICSelection,:specifies the input to be used. This parameter can be one of the following values:

  • TIM_ICSelection_DirectTI: TIM Input 4 is selected to be connected to IC4.
  • TIM_ICSelection_IndirectTI: TIM Input 4 is selected to be connected to IC3.
  • TIM_ICSelection_TRC: TIM Input 4 is selected to be connected to TRC.
TIM_ICFilter,:Specifies the Input Capture Filter. This parameter must be a value between 0x00 and 0x0F.
Return values:
None

Definition at line 3315 of file stm32f4xx_tim.c.