| Datenblatt-Suchmaschine für elektronische Bauteile |
|
STC89LE53RC Datenblatt(PDF) 101 Page - STCmicro Technology Co,.Ltd |
|
|
|||||||||||||||||||||||||||||
STC89LE53RC Datenblatt(HTML) 101 Page - STCmicro Technology Co,.Ltd |
|
101 / 165 page ![]() Timer 2 Interrupt SYSclk TF2 control C/T2=0 C/T2=1 T2 Pin T2EX Pin MCU in 12T mode MCU in 6T mode TL2 (8 Bits) RCAP2L Timer 2 in Capture Mode ÷12 ÷6 TR2 TH2 (8 Bits) RCAP2H EXF2 Transition Detector control EXEN2 capture Auto-Reload Mode In 16-bit auto-reload mode, Timer 2 can be configured to count up or down. The counting direction is determined by DCEN in special function register T2MOD and T2EX pin. If DCEN=0, counting up. If DCEN=1, the counting direction is determined by T2EX pin. If T2EX=1, counting up, otherwise counting down. The following figure shows DCEN=0, which enables Timer 2 to count up automatically. In this mode there are two options selected by bit EXEN2 in T2CON register. If EXEN2=0, then Timer 2 counts up to 0FFFFH and sets the TF2 (Overflow Flag) bit upon overflow. This causes the Timer 2 registers to be reloaded with the 16-bit value in RCAP2L and RCAP2H. The values in RCAP2L and RCAP2H are preset by firmware. If EXEN2=1, then a 16-bit reload can be triggered either by an overflow or by a 1-to-0 transition at input T2EX. This transition also sets the EXF2 bit. The Timer 2 interrupt, if enabled, can be generated when either TF2 or EXF2 are 1. Timer 2 Interrupt SYSclk TF2 control C/T2=0 C/T2=1 T2 Pin T2EX Pin MCU in 12T mode MCU in 6T mode TL2 (8 Bits) RCAP2L Timer 2 in Auto-Reload Mode (DCEN=0) ÷12 ÷6 TR2 TH2 (8 Bits) RCAP2H EXF2 Transition Detector control EXEN2 reload 101 |
|
Link URL |
| War ALLDATASHEET hilfreich? [ DONATE ] |
Über Alldatasheet | Werbung | Kontakt | Privatsphäre und Datenschutz | Link zum Datenblatt | Linktausch | Hersteller 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 |