參數(shù)資料
型號: Q67121C452
英文描述: IC-SM-8-BIT CPU-12MHZ
中文描述: 集成電路釤8位CPU - 12MHz的
文件頁數(shù): 52/121頁
文件大?。?/td> 1000K
代理商: Q67121C452
Semiconductor Group
6-18
On-Chip Peripheral Components
C501
6.2.1.2
Mode 0
Putting either timer/counter 0,1 into mode 0 configures it as an 8-bit timer/counter with a divide-by-
32 prescaler.
Figure 6-11
shows the mode 0 operation.
In this mode, the timer register is configured as a 13-bit register. As the count rolls over from all 1’s
to all 0’s, it sets the timer overflow flag TF0. The overflow flag TF0 then can be used to request an
interrupt. The counted input is enabled to the timer when TR0 = 1 and either Gate = 0 or INT0 = 1
(setting Gate = 1 allows the timer to be controlled by external input INT0, 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 TH0 and the lower 5 bits of TL0. The upper 3 bits of TL0
are indeterminate and should be ignored. Setting the run flag (TR0) does not clear the registers.
Mode 0 operation is the same for timer 0 as for timer 1. Substitute TR0, TF0, TH0, TL0 and INT0 for
the corresponding timer 1 signals in
figure 6-11
. There are two different gate bits, one for timer 1
(TMOD.7) and one for timer 0 (TMOD.3).
Figure 6-11
Timer/Counter 0, Mode 0: 13-Bit Timer/Counter
MCS02143
1
&
OSC
C/T = 0
TL0
(5 Bits)
TH0
(8 Bits)
TF0
C/T = 1
TR0
Gate
P3.2/INTO
Control
Interrupt
P3.4/T0
÷ 12
_
=1
相關(guān)PDF資料
PDF描述
Q67126-C2088 RF inductor, ceramic core, 2% tol, SMT, RoHS
Q67127-C2036SAB-C161R1-L16M IC-SM-16 BIT CPU
Q67120-C2200 16-Bit Single-Chip Microcontroller Bare Die Delivery
Q67120-C1054 High Speed CMOS Logic Triple 3-Input NOR Gates 14-SOIC -55 to 125
Q67120-C1056 High Speed CMOS Logic Triple 3-Input NOR Gates 14-SOIC -55 to 125
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
Q67121-C848 制造商:INFINEON 制造商全稱:Infineon Technologies AG 功能描述:16-Bit CMOS Single-Chip Microcontroller
Q67121-C862 制造商:INFINEON 制造商全稱:Infineon Technologies AG 功能描述:C16x-Family of High-Performance CMOS 16-Bit Microcontrollers
Q67121-C900 制造商:INFINEON 制造商全稱:Infineon Technologies AG 功能描述:16-Bit CMOS Single-Chip Microcontroller
Q67121-C923 制造商:INFINEON 制造商全稱:Infineon Technologies AG 功能描述:C16x-Family of High-Performance CMOS 16-Bit Microcontrollers
Q67121-C942 制造商:INFINEON 制造商全稱:Infineon Technologies AG 功能描述:16-Bit CMOS Single-Chip Microcontroller