| Electronic Components Datasheet Search |
|
UM0324 Datasheet(PDF) 74 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
UM0324 Datasheet(HTML) 74 Page - STMicroelectronics |
|
74 / 105 page ![]() Library functions UM0324 74/105 ENC_ResetEncoder ENC_Clear_Speed_Buffer ENC_Get_Speed Synopsis void ENC_resetEncoder(void) Description This function resets the encoder timer (hardware register) value to zero. Functions called TIM_ResetCounter See also STR750 datasheet: synchronizable standard timer. Synopsis void ENC_Clear_Speed_Buffer(void) Description This function resets the buffer used for speed averaging. Functions called None Synopsis s16 ENC_Get_Speed(void) Description This function returns the 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 None Note This routine returns the mechanical frequency of the rotor. To find the electrical speed, use the following conversion: electrical frequency = number of pole pairs * mechanical frequency |
|
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 |