參數(shù)資料
型號: AT_8032
廠商: Atmel Corp.
英文描述: 8-bit Embedded Microcontroller Core(8位嵌入式基于工業(yè)標(biāo)準(zhǔn)軟件兼容的微控制器)
中文描述: 8位嵌入式微控制器核心(8位嵌入式基于工業(yè)標(biāo)準(zhǔn)軟件兼容的微控制器)
文件頁數(shù): 20/39頁
文件大小: 532K
代理商: AT_8032
AT_8032 Core
20
Timer/Counters
The AT_8032 contains Timer/Counters 0, 1 and 2. The
control bits C/T in the Special Function Register TMOD
select the Counter or Timer function.
Timers 0 and 1 have four operating modes, Timer 2 has
three operating modes. These are described in Table 6.
Table 6.
Timer/Counter Operating Modes
Timer/
Counter
Operating
Mode
Description
0 & 1
0
Both timer/counters are configured as 13-bit counters with a divide-by-32 prescaler. In this mode, the
timer register is configured as a 13-bit register. As the counter rolls over from ones to zeros, it sets the
timer interrupt flag TF1.
The count trigger input (scaled oscillator or external input T1) is sent to the timer when TR1 = 1 and
GATE = 0 or INT1 = 1. TR1 is a control bit in the Special Register Function TCON and GATE is in TMOD.
The 13-bit register is composed of all 8 bits of TH1 and the lower 5 bits of TL1. The upper bits of TL1 can
be ignored because they are indeterminate. Setting the run flag (TR1) does not clear the register.
Mode 0 is the same for Timer 0 and Timer 1. There are two different GATE bits, one for Timer 1 and one
for Timer 0.
0 & 1
1
Same as mode 0, except the timer register uses all 16 bits of TL1 and TH1.
0 & 1
2
Sets the timer register as an 8-bit counter with automatic reload. Overflow from TL1 sets TF1 and
reloads TL1 with the contents of TH1, which is preset by the software. The reload leaves TH1
unchanged.
Mode 2 operation is the same for Timer/Counter 0.
0 & 1
3
Required for applications that need an extra 8-bit timer or counter. In this mode, Timer 1 holds its count
and Timer 0 configures TL0 and TH0 as two separate counters.
TL0 uses Timer 0 control bits: C/T, GATE, TR0, INT0 and TF0. TH0 takes over the use of TR1 and TF1
from Timer 1. It controls the Timer 1 interrupt TF1.
2
Capture
Two options. Both are selected by the EXEN2 bit in T2CON3.
1: EXEN2 = 0. Timer 2 is a 16-bit counter or timer, which upon overflowing sets bit TF2 which can be
used to generate an interrupt.
2: EXEN2 = 1. Same as EXEN2 = 0 with the added feature that a 1-to-0 transition at external input T2EX
causes the current value in Timer 2 registers, TL2 and TH2, to be captured respectively into registers
RCAP2L and RCAP2H. In addition, the transition at T2EX causes bit EXF2 in T2CON to be set, and
EXF2, like TF2, can generate an interrupt.
2
Auto-reload
Two options. Both are selected by the EXEN2 bit in T2CON3.
1: EXEN2 = 0. When Timer 2 rolls over, it not only sets TF2 but also causes the Timer 2 registers to be
reloaded with the 16-bit value in register RCAP2L and RCAP2H, which are preset by software.
2: EXEN2 = 1. It does the same as above but with the added feature that 1-to-0 transition at external
input T2EX will also trigger the 16-bit reload and set EXF2.
2
Baud-rate
generator
Selected by RCLK = 1 and/or TCLK = 1. See UART Baud Rate Generation below.
相關(guān)PDF資料
PDF描述
AT05SC1602RF 8-bit Microcontroller with 2K EEPROM,Dual Interface,and Advanced Security Features(8位微控制器(帶2K的EEPROM,雙接口和先進(jìn)的安全性能))
AT05SC1602R 8-bit Secure Microcontroller with 2K EEPROM and Advanced Security Features(8位微控制器(帶2K的EEPROM和先進(jìn)的安全性能))
AT05SC1604R 8-bit Secure Microcontroller with 4K EEPROM and Advanced Security Features(8位微控制器(帶4K的EEPROM和先進(jìn)的安全性能))
AT05SC3202R 8-bit Secure Microcontroller with 2K EEPROM and Advanced Security Features(8位微控制器(帶2K的EEPROM和先進(jìn)的安全性能 ))
AT05SC3204R 8-bit Secure Microcontroller with 4K EEPROM and Advanced Security Features(8位微控制器(帶4K的EEPROM和先進(jìn)的安全性能))
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
AT804 制造商:POSEICO 制造商全稱:POSEICO 功能描述:PHASE CONTROL THYRISTOR
AT804S12 制造商:n/a 功能描述:Thyristor
AT804S16 制造商:POSEICO 制造商全稱:POSEICO 功能描述:PHASE CONTROL THYRISTOR
AT805-1.2KER 制造商: 功能描述:600mA Ultra Low Dropout Regulator 制造商:undefined 功能描述:600mA Ultra Low Dropout Regulator
AT805-3.3KER 制造商: 功能描述:600mA Ultra Low Dropout Regulator 制造商:undefined 功能描述:600mA Ultra Low Dropout Regulator