参数资料
型号: SAB-C515-L24N
厂商: INFINEON TECHNOLOGIES AG
元件分类: 微控制器/微处理器
英文描述: 8-BIT, 24 MHz, MICROCONTROLLER, PQCC68
封装: PLASTIC, LCC-68
文件页数: 121/162页
文件大小: 771K
代理商: SAB-C515-L24N
Semiconductor Group
6-18
On-Chip Peripheral Components
C515
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-9 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-9. There are two different gate bits, one for timer 1
(TMOD.7) and one for timer 0 (TMOD.3).
Figure 6-9
Timer/Counter 0, Mode 0: 13-Bit Timer/Counter
MCS02583
1
&
OSC
C/T = 0
TL0
TH0
TF0
C/T = 1
TR0
Gate
P3.2/INTO
Control
Interrupt
P3.4/T0
(5
÷ 12
=1
Bits)
(8
_
<
相关PDF资料
PDF描述
SAF-C515-RM 8-BIT, OTPROM, 16 MHz, MICROCONTROLLER, PQFP80
SAF-C515-LN 8-BIT, 16 MHz, MICROCONTROLLER, PQCC68
SAH-C515-LN 8-BIT, 16 MHz, MICROCONTROLLER, PQCC68
SAB-C515-LM 8-BIT, 16 MHz, MICROCONTROLLER, PQFP80
SAB-C515C-LM 8-BIT, 10 MHz, MICROCONTROLLER, PQFP80
相关代理商/技术参数
参数描述
SAB-C515-LM 制造商:INFINEON 制造商全称:Infineon Technologies AG 功能描述:8-Bit CMOS Microcontroller
SAB-C517A 制造商:INFINEON 制造商全称:Infineon Technologies AG 功能描述:8-bit CMOS MICROCONTROLLER
SAB-C517A-4R24M 制造商:INFINEON 制造商全称:Infineon Technologies AG 功能描述:8-Bit CMOS Microcontroller
SAB-C517A-4RM 制造商:INFINEON 制造商全称:Infineon Technologies AG 功能描述:8-Bit CMOS Microcontroller
SAB-C517A-L24M 制造商:INFINEON 制造商全称:Infineon Technologies AG 功能描述:8-Bit CMOS Microcontroller