參數(shù)資料
型號: ADUC842BCP32-3
廠商: ANALOG DEVICES INC
元件分類: 微控制器/微處理器
英文描述: MicroConverter 12-Bit ADCs and DACs with Embedded High Speed 62-kB Flash MCU
中文描述: 8-BIT, FLASH, 8.38 MHz, MICROCONTROLLER, QCC56
封裝: 8 X 8 MM, LEAD FRAME, MO-220VLLD2, CSP-56
文件頁數(shù): 64/88頁
文件大小: 903K
代理商: ADUC842BCP32-3
ADuC841/ADuC842/ADuC843
TIMER/COUNTER OPERATING MODES
The following sections describe the operating modes for
Timer/Counter 2. The operating modes are selected by bits in
the T2CON SFR, as shown in Table 31.
Table 31. T2CON Operating Modes
RCLK (or) TCLK
CAP2
0
0
0
1
1
X
X
X
16-Bit Autoreload Mode
Autoreload mode has two options that are selected by Bit EXEN2
in T2CON. If EXEN2 = 0, then 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 registers RCAP2L and RCAP2H,
which are preset by software. If EXEN2 = 1, then Timer 2 still
performs the above, but with the added feature that a 1-to-0
transition at external input T2EX will also trigger the 16-bit
reload and set EXF2. Autoreload mode is illustrated in Figure 70.
Rev. 0 | Page 64 of 88
TR2
1
1
1
0
Mode
16-Bit Autoreload
16-Bit Capture
Baud Rate
OFF
16-Bit Capture Mode
Capture mode also has two options that are selected by bit
EXEN2 in T2CON. If EXEN2 = 0, then Timer 2 is a 16-bit timer
or counter that, upon overflowing, sets Bit TF2, the Timer 2
overflow bit, which can be used to generate an interrupt. If
EXEN2 = 1, then Timer 2 still performs the above, but a l-to-0
transition on external input T2EX causes the current value in
the Timer 2 registers, TL2 and TH2, to be captured into
registers RCAP2L and RCAP2H, respectively. In addition, the
transition at T2EX causes Bit EXF2 in T2CON to be set, and
EXF2, like TF2, can generate an interrupt. Capture mode is
illustrated in Figure 71. The baud rate generator mode is
selected by RCLK = 1 and/or TCLK = 1.
In either case, if Timer 2 is being used to generate the baud rate,
the TF2 interrupt flag will not occur. Therefore, Timer 2
interrupts will not occur, so they do not have to be disabled. In
this mode, the EXF2 flag, however, can still cause interrupts,
which can be used as a third external interrupt. Baud rate
generation is described as part of the UART serial port
operation in the following section.
CLK*
T2
PIN
C/T2 = 0
C/T2 = 1
TR2
CONTROL
(8TL2
(8TH2
RELOAD
TF2
EXF2
TIMER
EXEN2
CONTROL
DETECTOR
TPIN
RCAP2L
RCAP2H
*CORE CLK IS DEFINED BY THE CD BITS IN PLLCON
0
Figure 70. Timer/Counter 2, 16-Bit Autoreload Mode
TF2
CLK
*
T2
PIN
TR2
CONTROL
(8TL2
(8TH2
CAPTURE
EXF2
TIMER
EXEN2
CONTROL
DETECTOR
TPIN
RCAP2L
RCAP2H
C/T2 = 0
C/T2 = 1
*CORE CLK IS DEFINED BY THE CD BITS IN PLLCON
0
Figure 71. Timer/Counter 2, 16-Bit Capture Mode
相關(guān)PDF資料
PDF描述
ADUC843BCP32-3 MicroConverter 12-Bit ADCs and DACs with Embedded High Speed 62-kB Flash MCU
ADUC842BCP32-5 MicroConverter 12-Bit ADCs and DACs with Embedded High Speed 62-kB Flash MCU
ADUC843BCP32-5 MicroConverter 12-Bit ADCs and DACs with Embedded High Speed 62-kB Flash MCU
ADUC842BCP8-3 MicroConverter 12-Bit ADCs and DACs with Embedded High Speed 62-kB Flash MCU
ADUC843BCP8-3 MicroConverter 12-Bit ADCs and DACs with Embedded High Speed 62-kB Flash MCU
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
ADUC842BCP32-5 制造商:Analog Devices 功能描述:MCU 8-Bit ADuC8xx 8052 CISC 62KB Flash 5V 56-Pin LFCSP EP
ADUC842BCP62-3 制造商:Analog Devices 功能描述:MCU 8-bit ADuC8xx 8052 CISC 62KB Flash 3V 56-Pin LFCSP EP
ADUC842BCP62-3U 制造商:Analog Devices 功能描述:MICROCONVERTER 1-CYCLE VERSION ADUC833 - Trays
ADUC842BCP62-3-U2 制造商:Analog Devices 功能描述:MICROCONVERTER 1-CYCLE VERSION ADUC834 - Trays
ADUC842BCP62-5 制造商:Rochester Electronics LLC 功能描述: 制造商:Analog Devices 功能描述: