| 数据搜索系统,热门电子元器件搜索 |
|
M38C31M7AXXXFS 数据表(PDF) 90 Page - Renesas Technology Corp |
|
|
|||||||||||||||||||||||||||||
M38C31M7AXXXFS 数据表(HTML) 90 Page - Renesas Technology Corp |
|
90 / 224 page ![]() 38C3 Group User’s Manual APPLICATION 2-25 2.2 Timer (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 P54/CNTR1 pin with the timer. •A reference value Specifications: •The pulse is input to the P54/CNTR1 pin and counted by the timer 4. •A count value of timer 4 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. Figure 2.2.23 shows the judgment method of valid/invalid of input pulses; Figure 2.2.24 shows the relevant registers setting; Figure 2.2.25 shows the control procedure. Fig. 2.2.23 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 |