| công cụ tìm kiếm bảng dữ liệu linh kiện điện tử |
|
TMP47P201 bảng dữ liệu(PDF) 26 Page - Toshiba Semiconductor |
|
|
|||||||||||||||||||||||||||||
TMP47P201 bảng dữ liệu(HTML) 26 Page - Toshiba Semiconductor |
|
26 / 32 page ![]() 26/32 TOSHIBA CORPORATION TMP47C101/201 Example: To generate an overflow interrupt (at fc = 4MHz) by the TC1 after 100ms. LD HL, #0F4H ; TC1 ←E79 H (set- ting of the count register) ST #9, @HL+ ST #7, @HL+ ST #0EH, @HL+ LD A, #1000B : OP1C ←1000 B OUT A, %OP1C LD A, #0100B ; EIR ←0100 B (enables interrupt) A EIR EICLR IL, 110111B ; EIF ←1, IL 3←0 Calculating the preset value of the count register The preset value of the count register is obtained from the following relation 212 - (interrupt setting time) x (internal pulse rate) For example, to generate an overflow interrupt after 100ms at fc = 4MHz with the internal pulse rate of fc/ 210, set the following value to the count register as the preset value: 212 - (100 x 10-3) x (4 x 106/210) = 3705 = E79H Table 3-3. Internal Pulse Rate Selection Internal Pulse Rate Max. Setting Time Example: At fc = 4.194304MHz Internal Pulse Rate Max. Setting Time fc/210 [Hz] 222/fc [s] 4096 [Hz] 1 [s] fc/214 226 256 16 fc/218 230 16 256 fc/222 234 1 4096 (3) Pulse width measurement mode In the pulse width measurement mode, the timer/ counter increments with the pulse obtained by sam- pling the external pins (T2) by the internal pulse. As shown in Figure 3-11, the timer/counter increments only while the external pin input is high. The maximum applied frequency to the external pin input must be one that is enough for analyzing the count value. Nor- mally, a frequency sufficiently slower than the internal pulse rate setting is applied to the external pin. Figure 3-11. Pulse Width Measurement Mode Timing Chart |
|
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 |