EasyManua.ls Logo

ST STM32F31xx

ST STM32F31xx
584 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
General-purpose timers (TIM)
UM1581
488/584
DocID023800 Rev 1
22.2.13.2 TIM_ICStructInit
Function Name
void TIM_ICStructInit ( TIM_ICInitTypeDef * TIM_ICInitStruct)
Function Description
Fills each TIM_ICInitStruct member with its default value.
Parameters
TIM_ICInitStruct : pointer to a TIM_ICInitTypeDef structure
which will be initialized.
Return values
None.
Notes
None.
22.2.13.3 TIM_PWMIConfig
Function Name
void TIM_PWMIConfig ( TIM_TypeDef * TIMx,
TIM_ICInitTypeDef * TIM_ICInitStruct)
Function Description
Configures the TIM peripheral according to the specified
parameters in the TIM_ICInitStruct to measure an external PWM
signal.
Parameters
TIMx : where x can be 1, 2, 3, 4, 8 or 15 to select the TIM
peripheral.
TIM_ICInitStruct : pointer to a TIM_ICInitTypeDef structure
that contains the configuration information for the specified
TIM peripheral.
Return values
None.
Notes
None.
22.2.13.4 TIM_GetCapture1
Function Name
uint32_t TIM_GetCapture1 ( TIM_TypeDef * TIMx)
Function Description
Gets the TIMx Input Capture 1 value.
Parameters
TIMx : where x can be 1, 2, 3, 4, 8, 15, 16 or 17 to select the
TIM peripheral.
Return values
Capture Compare 1 Register value.
Notes
None.

Table of Contents

Related product manuals