| Motore di ricerca datesheet componenti elettronici |
|
AN2281 Scheda tecnica(PDF) 33 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
AN2281 Scheda tecnica(HTML) 33 Page - STMicroelectronics |
|
33 / 38 page ![]() AN2281 List of software functions and interrupt service routines 33/38 lt.c Module LT_TB1_IT_Routine LT_ICAP_IT_Routine Description: Lite Timer counter 1 overflow interrupt service routine. The Lite Timer is configured so that this interrupt occurs every 1 msec., two variables are incremented in this interrupt service routine. Then "counter" variable is used for Hall sensor signal semi-period measurement and the "timebase_1ms" variable is used as 1 msec time base. Input: None Returns: None Duration: 4.35µsec Description: Lite Timer input capture interrupt service routine. Hall sensor signal semi-period measurement is performed in this routine. Moreover, depending on the logical value of the Hall sensor signal, the phase of the PWM modulated sinusoidal voltage output on pin ATPWM0 (phase C) is forced with phase angle value Φ or with Φ+π. Finally, the watchdog timer is enabled/refreshed so that, if no Hall sensor edges occur in 127msec (corresponding to an electrical frequency of less than 4 Hz), a hardware reset is generated. Figure 22 shows the flowchart of this interrupt service routine. Input: None Returns: None Duration: The average duration is 26.15 µsec. |
|
Link URL |
| Lei ha avuto il aiuto da alldatasheet? [ DONATE ] |
Di alldatasheet | Richest di pubblicita | contatti | Privacy Policy | Collegamento alla scheda tecnica | scambio Link | Ricerca produttore 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 |