| 数据搜索系统,热门电子元器件搜索 |
|
M38047FEHKP 数据表(PDF) 162 Page - Renesas Technology Corp |
|
|
|||||||||||||||||||||||||||||
M38047FEHKP 数据表(HTML) 162 Page - Renesas Technology Corp |
|
162 / 387 page ![]() 2-38 APPLICATION 2.3 Timer Rev.1.00 Jan 14, 2005 REJ09B0212-0100Z 3804 Group (Spec.H) (4) Timer application example 3: Frequency measurement Outline: The following two values are compared to judge whether the frequency is within a valid range. •A value by counting pulses input to P55/CNTR1 pin with the timer. •A reference value Specifications: •The pulse is input to the P55/CNTR1 pin and counted by the timer Y. •The clock f(XIN) = 8 MHz is dividing by the timer 1, and the interrupt request occurs at about 2 ms intervals. •A count value is read out at about 2 ms intervals, the timer 1 interrupt interval. When the count value is 28 to 40, it is judged that the input pulse is valid. •Because the timer is a down-counter, the count value is compared with 227 to 215 (Note). Note: 227 to 215 = {255 (initial value of counter) – 28} to {255 – 40}; 28 to 40 means the number of valid count value. Figure 2.3.22 shows the judgment method of valid/invalid of input pulses; Figure 2.3.23 shows the relevant registers setting; Figure 2.3.24 shows the control procedure. Fig. 2.3.22 Judgment method of valid/invalid of input pulses Input pulse 2 ms 71.4 µs = 28 counts • • • • • 71.4 µs or more (less than 14 kHz) 71.4 µs (14 kHz) 50 µs (20 kHz) 50 µs or less (20 kHz or more) Invalid Valid Invalid 2 ms 50 µs = 40 counts • • • • •• • • • • |
|
链接网址 |
| ALLDATASHEET是否为您带来帮助? [ DONATE ] |
关于 Alldatasheet | 广告服务 | 联系我们 | 隐私政策 | 数据表链接 | 链接交换 | 制造商名单 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 |