CARME-M4 BSP  V1.5
TIM_Private_Functions
+ Collaboration diagram for TIM_Private_Functions:

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. More...
 
static void TI2_Config (TIM_TypeDef *TIMx, uint16_t TIM_ICPolarity, uint16_t TIM_ICSelection, uint16_t TIM_ICFilter)
 Configure the TI2 as Input. More...
 
static void TI3_Config (TIM_TypeDef *TIMx, uint16_t TIM_ICPolarity, uint16_t TIM_ICSelection, uint16_t TIM_ICFilter)
 Configure the TI3 as Input. More...
 
static void TI4_Config (TIM_TypeDef *TIMx, uint16_t TIM_ICPolarity, uint16_t TIM_ICSelection, uint16_t TIM_ICFilter)
 Configure the TI4 as Input. More...
 

Detailed Description

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
TIMxwhere 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_ICSelectionspecifies 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_ICFilterSpecifies the Input Capture Filter. This parameter must be a value between 0x00 and 0x0F.
Return values
None

Definition at line 3204 of file stm32f4xx_tim.c.

+ Here is the caller graph for this function:

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
TIMxwhere 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_ICSelectionspecifies 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_ICFilterSpecifies the Input Capture Filter. This parameter must be a value between 0x00 and 0x0F.
Return values
None

Definition at line 3245 of file stm32f4xx_tim.c.

+ Here is the caller graph for this function:

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
TIMxwhere 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_ICSelectionspecifies 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_ICFilterSpecifies the Input Capture Filter. This parameter must be a value between 0x00 and 0x0F.
Return values
None

Definition at line 3287 of file stm32f4xx_tim.c.

+ Here is the caller graph for this function:

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
TIMxwhere 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_ICSelectionspecifies 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_ICFilterSpecifies the Input Capture Filter. This parameter must be a value between 0x00 and 0x0F.
Return values
None

Definition at line 3328 of file stm32f4xx_tim.c.

+ Here is the caller graph for this function: