| công cụ tìm kiếm bảng dữ liệu linh kiện điện tử |
|
MPD78CP14KB bảng dữ liệu(PDF) 110 Page - NEC |
|
|
|||||||||||||||||||||||||||||
MPD78CP14KB bảng dữ liệu(HTML) 110 Page - NEC |
|
110 / 373 page ![]() CHAPTER 6 TIMER/EVENT COUNTER FUNCTIONS 92 6.3.2 Event counter mode In this mode, external pulses input to the CI pin (dual function as PC5) are counted. After first clearing ECNT, the external even count is performed by setting the data shown in Figure 6-8 in the timer/ event counter mode register. Figure 6-8. Timer/Event Counter Mode Register Setting (Event Counter Mode) External pulses input to the CI pin are synchronized with the internal clock, and ECNT counts up on their falling edge. The pulse width of the pulses input to the CI pin must be at least 500 ns (at 12 MHz operation); pulses of 250 ns or less in width are regarded as noise signals and are not counted. The count value can be read at any time by software. When the timer/event counter mode register is set as shown in Figure 6-8, if ECNT counts up to FFFFH the OV (Overflow) flag is set and the count starts again from 0000H. The OV flag does not have an interrupt function but can be tested in the program by means of a skip instruction (SKIT or SKNIT). When the external event count reaches the value set in ETM0/ETM1, and internal interrupt (INTE0/INTE1) is generated. Figure 6-9. Event Counter Mode Operation CI input Internal signal ECNT input Internal clock ( 3) φ 1 0 ETMM 0 2 4 5 6 7 000 0 1 0 31 CI input count Free running cleared after full count |
|
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 |