| 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) 103 Page - NEC |
|
|
|||||||||||||||||||||||||||||
MPD78CP14KB bảng dữ liệu(HTML) 103 Page - NEC |
|
103 / 373 page ![]() CHAPTER 6 TIMER/EVENT COUNTER FUNCTIONS 85 (8) Output control circuit This circuit controls the two channel pulse outputs (CO0 & CO1), and operates as a timer/event counter enabling the pulse width and cycle to be varied. Pulse output is varied by the following signals. (i) Match of ECNT and ETM0 (ii) Match of ECNT and ETM1 (iii) CI input fallng edge (9) Mode registers These are two 8-bit registers which specify the operation of the timer/event counter and output control circuit (see 6.2 Mode Registers for details). 6.2 Mode Registers The timer/event counter has two mode registers: The timer/event counter mode register (ETMM) which specifies the operating mode, and the timer/event counter output mode register (EOM) which specifies the operation of the output control circuit. 6.2.1 Timer/event counter mode register (ETMM) This is an 8-bit register which controls the timer/event counter; its configuration is shown in Figure 6-2. (1) ET0 & ET1 (bits 0 & 1) These bits specify the timer/event counter upcounter (ECNT) input clock, latch timing, and INTEIN interrupt flag setting conditions. They may also be used for clear mode specification (when EM1=1 and EM0=0). The internal clock ( φ12) is obtained by dividing the oscillator frequency by 12. (2) EM0, & EM1 (bits 2 & 3) These bits control the ECNT clear mode. When the value of the EM0 bit and EM1 bit is "00", ECNT is cleared to 0000H and counting up is not performed. When the EM0 and EM1 bits are set to any value other than "00", ECNT counts up using the input clock; ECNT is cleared by the conditions shown in Figure 6-2, after which the count starts again from 0000H. When EM0=0 and EM1=1, the conditions for clearing ECNT are as follows, according to the input clock specification. • When ET1=0 and ET0=0, or ET1=0 and ET0=1, ECNT is cleared by the falling edge of the CI input (see 6.3.4 Pulse width measurement mode). • When ET1=1 and ET0=0, or ET1=1 and ET0=1, ECNT is cleared by the falling edge of the TO input (see 6.3.3 Frequency measurement mode). (3) CO00 & CO01 (bits 4 & 5) These bits specify the timing for transfer to the output latch of the level of the LV0 level F/F shown in Figure 6-3. When CO00=0 and CO01=1, the LV0 level is transferred to the output latch in the event of either a match between ECNT and ETM0 or a fall of the CI input. When CO00=1 and CO01=1, the level is transferred in the event of a match between ECNT and ETM0 or a match between ECNT and ETM1. When the LD0 bit of the timer/event counter output mode register (EOM) is set (1), the LV0 level is inverted after transfer to the output latch. |
|
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 |