| 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) 82 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
UM0324 bảng dữ liệu(HTML) 82 Page - STMicroelectronics |
|
82 / 105 page ![]() Library functions UM0324 82/105 In order to have always the best resolution, the timer clock prescaler is constantly adjusted in the current implementation. The basic principle is to speed-up the timer if captured values are too low (for an example of low periods, see Figure 43), and slow it down when the timer overflows between two consecutive captures (see example of large periods in Figure 44). The prescaler modification is done in the capture interrupt, taking advantage of the buffered registers: the new prescaler value is taken into account only on the next capture event, by the hardware, without disturbing the measurement. Further details are provided in the flowcharts in Section A.4 on page 100. Figure 43. Automatic tacho timer prescaler decrease Figure 44. Automatic tacho timer prescaler increase Figure 44 shows that the prescaler is not decreased although the captured value is below 0x5500, due to an overflow interrupt. 30 29 29 29 30 30 29 29 0x0000 0x5500 0xFFFF Prescaler (preload) Prescaler (active) Transfer from preload to active on next capture (= update) event Capture Capture Capture Capture Capture value is too low, the prescaler is decreased 30 29 29 29 30 29 29 29 30 30 29 29 30 30 29 29 0x0000 0x5500 0xFFFF Prescaler (preload) Prescaler (active) Transfer from preload to active on next capture (= update) event Capture Capture Capture Capture Capture value is too low, the prescaler is decreased 30 31 31 31 30 30 31 31 0x0000 0x5500 0xFFFF Prescaler (preload) Prescaler (active) Transfer from preload to active on next capture (= update) event Capture Capture Capture Capture Timer overflowed, the prescaler is increased ovf ovf 30 31 31 31 30 31 31 31 30 30 31 31 30 30 31 31 0x0000 0x5500 0xFFFF Prescaler (preload) Prescaler (active) Transfer from preload to active on next capture (= update) event Capture Capture Capture Capture Timer overflowed, the prescaler is increased ovf ovf |
|
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 |