| Datenblatt-Suchmaschine für elektronische Bauteile |
|
STC89LE53RC Datenblatt(PDF) 95 Page - STCmicro Technology Co,.Ltd |
|
|
|||||||||||||||||||||||||||||
STC89LE53RC Datenblatt(HTML) 95 Page - STCmicro Technology Co,.Ltd |
|
95 / 165 page ![]() 7.2 Timer/Counter 1 Mode of Operation Mode 0 In this mode, the timer register is configured as a 13-bit register. As the count rolls over from all 1s to all 0s, it sets the timer interrupt flag TF1. The counted input is enabled to the timer when TR1 = 1 and either GATE=0 or INT1 = 1.(Setting GATE = 1 allows the Timer to be controlled by external input INT1 , to facilitate pulse width measurements.) TR0 is a control bit in the Special Function Register TCON. GATE is in TMOD. The 13-Bit register consists of all 8 bits of TH1 and the lower 5 bits of TL1. The upper 3 bits of TL1 are indeterminate and should be ignored. Setting the run flag (TR1) does not clear the registers. Mode 1 In this mode, the timer register is configured as a 16-bit register. As the count rolls over from all 1s to all 0s, it sets the timer interrupt flag TF1. The counted input is enabled to the timer when TR1 = 1 and either GATE=0 or INT1 = 1.(Setting GATE = 1 allows the Timer to be controlled by external input INT1 , to facilitate pulse width measurements.) TRl is a control bit in the Special Function Register TCON. GATE is in TMOD. The 16-Bit register consists of all 8 bits of THl and the lower 8 bits of TL1. Setting the run flag (TR1) does not clear the registers. Mode 1 is the same as Mode 0, except that the timer register is being run with all 16 bits. Interrupt SYSclk TL1 (8 Bits) TH1 (8 bits) TF1 control C/T=0 C/T=1 T1 Pin TR1 GATE INT1 MCU in 12T mode ÷12 ÷6 MCU in 6T mode Timer/Counter 1 Mode 1 : 16-Bit Counter Interrupt SYSclk TL1 (5 Bits) TH1 (8 bits) TF1 control C/T=0 C/T=1 T1 Pin TR1 GATE INT1 MCU in 12T mode ÷12 ÷6 MCU in 6T mode Timer/Counter 1 Mode 0: 13-Bit Counter 95 |
|
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 |