| công cụ tìm kiếm bảng dữ liệu linh kiện điện tử |
|
UM0097 bảng dữ liệu(PDF) 118 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
UM0097 bảng dữ liệu(HTML) 118 Page - STMicroelectronics |
|
118 / 229 page ![]() Peripheral firmware overview UM0097 118/229 TIM_CounterConfig Example: This example illustrates how to stop the TIM3 counter. { ... TIM_CounterConfig (TIM3, TIM_STOP); ... } TIM_CounterValue Example: This example illustrates how get the TIM0 timer counter value. { u16 wTIMCounterValue; ... wTIMCounterValue = TIM_CounterValue (TIM0); ... } Function Name TIM_CounterConfig Function Prototype void TIM_CounterConfig (TIM_TypeDef *TIMx, CounterOperations Xoperation); Behavior Description This routine is used to start/stop and clear the selected timer counter Input Parameter 1 TIMx specifies the TIM to be initialized. Refer to TIM values on page 103 for more details on the allowed values of this parameter. Input Parameter 2 Xoperation: specifies the operation of the counter. Refer to Counter operations enumeration on page 105 for more details on the allowed values of this parameter. Output Parameter None Return Value None Required preconditions None Called Functions None Function Name TIM_CounterValue Function Prototype u16 TIM_CounterValue(TIM_TypeDef *TIMx) Behavior Description This routine returns the timer counter value. Input Parameter 1 TIMx: specifies the TIM to get its counter value. Refer to TIM values on page 103 for more details on the allowed values of this parameter. Output Parameter None Return Value The selected timer counter value Required preconditions None Called Functions None |
|
Link URL |
| Cho đến nay ALLDATASHEET có giúp ích cho doanh nghiệp của bạn hay không? [ DONATE ] |
Alldatasheet là | Quảng cáo | Liên lạc với chúng tôi | Chính sách bảo mật | Liên kết đến bảng dữ liệu | Trao đổi link | Tìm kiếm theo nhà sản xuất 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 |