| Zakładka z wyszukiwarką danych komponentów |
|
P83CE558EBB/YYY Arkusz danych(PDF) 24 Page - NXP Semiconductors |
|
|
|||||||||||||||||||||||||||||
P83CE558EBB/YYY Arkusz danych(HTML) 24 Page - NXP Semiconductors |
|
24 / 72 page ![]() Philips Semiconductors Preliminary specification P83CE558/P80CE558/P89CE558 Single-chip 8-bit microcontroller 1996 Aug 06 24 6.7.2 Timer T2 Timer T2 is a 16 bit timer/counter which has capture and compare facilities. The operational diagram is shown in Figure 21. The 16 bit timer/counter is clocked via a prescaler with a programmable division factor of 1, 2, 4 or 8. The input of the prescaler is clocked with 1/12 of the clock frequency, or by an external source connected to the T2 input, or it is switched off. The maximum repetition rate of the external clock source is fCLK/12, twice that of Timer 0 and Timer 1. The prescaler is incremented on a rising edge. It is cleared if its division factor or its input source is changed, or if the timer/counter is reset (see also Figure 22: TM2CON). T2 is readable ’on the fly’, without any extra read latches; this means that software precautions have to be taken against misinterpretation at overflow from least to most significant byte while T2 is being read. T2 is not loadable and is reset by the RST signal or at the positive edge of the input signal RT2, if enabled. In the Idle or Power-down Mode the timer/counter and prescaler are reset and halted. T2 is connected to four 16-bit Capture Registers: CT0, CT1, CT2 and CT3. A rising or falling edge on the inputs CT0I, CT1I, CT2I or CT3I (alternative function of Port 1) results in loading the contents of T2 into the respective Capture Registers and an interrupt request. Using the Capture Register CTCON (see Figure 23), these inputs may invoke capture and interrupt request on a positive, a negative edge or on both edges. If neither a positive nor a negative edge is selected for capture input, no capture or interrupt request can be generated by this input. INT INT Figure 21. Block diagram of Timer 2. CT0 CT1 CT2 CT3 CTI0 INT CT0I CTI1 CT1I CTI2 CT2I CTI3 CT3I 1/12 Prescaler T2 Counter 8-bit overflow interrupt 16-bit overflow interrupt External reset enable off fCLK T2 RT2 T2ER COMP CMO (S) INT COMP CM1 (R) INT COMP CM2 (T) INT P4.0 P4.1 P4.2 P4.3 P4.4 P4.5 P4.6 P4.7 R R R R R R T T S S S S S S TG TG STE RTE I/O port 4 S = set R = reset T = toggle TG = toggle status T2 SFR address: TML2 = lower 8 bits TMH2 = higher 8 bits INT |
|
Link URL |
| Czy Alldatasheet okazała się pomocna? [ DONATE ] |
O Alldatasheet | Reklama | Kontakt | Polityka prywatności | Link do karty katalogowej | Linki | Lista producentów 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 |