| công cụ tìm kiếm bảng dữ liệu linh kiện điện tử |
|
UM0324 bảng dữ liệu(PDF) 75 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
UM0324 bảng dữ liệu(HTML) 75 Page - STMicroelectronics |
|
75 / 105 page ![]() UM0324 Library functions 75/105 ENC_Get_Average_Speed TIMx_UP_IRQHandler - interrupt routine Synopsis s16 ENC_Get_Average_Speed(void) Description This function returns the average rotor speed in Hz.The value returned is given with 0.1Hz resolution, which means that 1234 is equal to 123.4 Hz. Input None Output Signed 16 bits Functions called ENC_Get_Speed() Note The averaging is done with the values stored in ‘Speed_Buffer[]’. The size of this buffer is set through the ‘SPEED_BUFFER_SIZE’ statement, which must be equal to a power of 2 to allow the use of the shift operation for divisions. This routine returns the mechanical frequency of the rotor. To find the electrical speed, use the following conversion: electrical frequency = mechanical frequency * number of pole pairs Synopsis void TIMx_UP_IRQHandler(void) Description This is the encoder timer (TIMER 0, 1 or 2) update routine. An interruption is generated whenever an overflow/underflow of the counter value occurs (TIM_CNT). The ‘Encoder_Timer_Overflow’ variable is then incremented. Functions called None Note This is an interrupt routine. See also STR750 Datasheet: Synchronizable Standard Timer. |
|
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 |