| Electronic Components Datasheet Search |
|
UM0097 Datasheet(PDF) 113 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
UM0097 Datasheet(HTML) 113 Page - STMicroelectronics |
|
113 / 229 page ![]() UM0097 Peripheral firmware overview 113/229 Example: This example illustrates how to configure the TIM3 input capture channel A to detect Rising edge. { ... TIM_ICAPModeConfig (TIM3, TIM_CHANNEL_A, TIM_RISING); ... } TIM_ICAPValue Example: This example illustrates how to get the input capture value of the TIM3. { ... u16 hICAPValue; hICAPValue = TIM_ICAPValue (TIM3, TIM_CHANNEL_A); ... } Function Name TIM_ICAPValue Function Prototype u16 TIM_ICAPValue (TIM_TypeDef *TIMx, TIM_Channels Xchannel); Behavior Description This routine gets the input capture value. Input Parameter 1 TIMx: specifies the TIM to check its Input Capture value. Refer to TIM values on page 103 for more details on the allowed values of this parameter. Input Parameter 2 Xchannel: specifies the Input Capture channel. Refer to TIM channels enumeration on page 104 for more details on the allowed values of this parameter. Output Parameter None Return Value The input capture value of the specified timer and channel Required preconditions None Called Functions None |
|
Link URL |
| Does ALLDATASHEET help your business so far? [ DONATE ] |
About Alldatasheet | Advertisement | Contact us | Privacy Policy | Link to Datasheet | Link Exchange | Manufacturer List All Rights Reserved©Alldatasheet.com |
| Russian : Alldatasheetru.com | Korean : Alldatasheet.co.kr | Spanish : Alldatasheet.es | French : Alldatasheet.fr | Italian : Alldatasheetit.com Portuguese : Alldatasheetpt.com | Polish : Alldatasheet.pl | Vietnamese : Alldatasheet.vn Indian : Alldatasheet.in | Mexican : Alldatasheet.com.mx | British : Alldatasheet.co.uk | New Zealand : Alldatasheet.co.nz |
|
Family Site : ic2ic.com |
icmetro.com |