參數(shù)資料
型號: EVAL-ADUC842QS
廠商: Analog Devices Inc
文件頁數(shù): 61/88頁
文件大小: 0K
描述: KIT DEV FOR ADUC842 QUICK START
標準包裝: 1
系列: QuickStart™ 套件
類型: MCU
適用于相關產(chǎn)品: ADuC842
所含物品: 評估板、電源、纜線、軟件和說明文檔
產(chǎn)品目錄頁面: 739 (CN2011-ZH PDF)
ADuC841/ADuC842/ADuC843
Rev. 0 | Page 64 of 88
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
TR2
Mode
0
1
16-Bit Autoreload
0
1
16-Bit Capture
1
X
1
Baud Rate
X
0
OFF
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.
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.
CORE
CLK*
T2
PIN
C/T2 = 0
C/T2 = 1
TR2
CONTROL
TL2
(8 BITS)
TH2
(8 BITS)
RELOAD
TF2
EXF2
TIMER
INTERRUPT
EXEN2
CONTROL
TRANSITION
DETECTOR
T2EX
PIN
RCAP2L
RCAP2H
* CORE CLK IS DEFINED BY THE CD BITS IN PLLCON
03260-
0-
069
Figure 70. Timer/Counter 2, 16-Bit Autoreload Mode
TF2
CORE
CLK
*
T2
PIN
TR2
CONTROL
TL2
(8 BITS)
TH2
(8 BITS)
CAPTURE
EXF2
TIMER
INTERRUPT
EXEN2
CONTROL
TRANSITION
DETECTOR
T2EX
PIN
RCAP2L
RCAP2H
C/ T2 = 0
C/ T2 = 1
* CORE CLK IS DEFINED BY THE CD BITS IN PLLCON
03260-
0-
070
Figure 71. Timer/Counter 2, 16-Bit Capture Mode
相關PDF資料
PDF描述
V110C8C75BL CONVERTER MOD DC/DC 8V 75W
AIUR-09-821K INDUCTOR POWER 820UH 10% T/H
V110C8C75B3 CONVERTER MOD DC/DC 8V 75W
V110C8C75B2 CONVERTER MOD DC/DC 8V 75W
BQ2057PDGK IC ADV LINEAR CHRG MGMT 8-MSOP
相關代理商/技術參數(shù)
參數(shù)描述
EVAL-ADUC842QS1 制造商:AD 制造商全稱:Analog Devices 功能描述:MicroConverter 12-Bit ADCs and DACs with Embedded High Speed 62-kB Flash MCU
EVAL-ADUC842QSP1 制造商:AD 制造商全稱:Analog Devices 功能描述:MicroConverter 12-Bit ADCs and DACs with Embedded High Speed 62-kB Flash MCU
EVAL-ADUC842QSP2 制造商:AD 制造商全稱:Analog Devices 功能描述:MicroConverter 12-Bit ADCs and DACs with Embedded High Speed 62-kB Flash MCU
EVAL-ADUC842QSPZ 功能描述:KIT DEV QUICK START ADUC842 RoHS:是 類別:編程器,開發(fā)系統(tǒng) >> 通用嵌入式開發(fā)板和套件(MCU、DSP、FPGA、CPLD等) 系列:QuickStart™ PLUS 套件 標準包裝:1 系列:PICDEM™ 類型:MCU 適用于相關產(chǎn)品:PIC10F206,PIC16F690,PIC16F819 所含物品:板,線纜,元件,CD,PICkit 編程器 產(chǎn)品目錄頁面:659 (CN2011-ZH PDF)
EVAL-ADUC842QS-U 制造商:Analog Devices 功能描述:TOOLS:DEVELOPMENT BOARDS H/W 制造商:Analog Devices 功能描述:QUICK START DEVELOPMENT SYSTEM - Bulk