參數(shù)資料
型號: EVAL-ADUC834QSZ
廠商: Analog Devices Inc
文件頁數(shù): 51/80頁
文件大小: 0K
描述: KIT DEV QUICK START ADUC834
標(biāo)準(zhǔn)包裝: 1
系列: QuickStart™ 套件
類型: MCU
適用于相關(guān)產(chǎn)品: ADuC834
所含物品: 評估板,線纜,電源,軟件和文檔
REV. A
ADuC834
–55–
TIMER/COUNTER 2 OPERATING MODES
The following paragraphs describe the operating modes for
Timer/Counter 2. The operating modes are selected by bits in
the T2CON SFR as shown in Table XXIX.
Table XXVIII. Timer 2 Operating Modes
RCLK (or) TCLK
CAP2
TR2
MODE
00
1
16-Bit Autoreload
01
1
16-Bit Capture
1X
1Baud Rate
XX
0
OFF
16-Bit Autoreload Mode
In Autoreload Mode, there are two options, selected by bit
EXEN2 in T2CON. If 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 registers RCAP2L and RCAP2H,
which are preset by software. If EXEN2 = 1, 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. The Autoreload Mode is illustrated in Figure 52.
16-Bit Capture Mode
In the Capture Mode, there are again two options, selected by bit
EXEN2 in T2CON. If EXEN2 = 0, Timer 2 is a 16-bit timer or
counter that, upon overflowing, sets bit TF2, the Timer 2 over-
flow bit, which can be used to generate an interrupt. If EXEN2 = 1,
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; EXF2, like TF2, can gener-
ate an interrupt. The Capture Mode is illustrated in Figure 53.
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. However, in
this mode, the EXF2 flag can still cause interrupts and this can
be used as a third external interrupt.
Baud rate generation will be described as part of the UART
serial port operation.
CORE
CLK*
12
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
*THE CORE CLOCK IS THE OUTPUT OF THE PLL (SEE "ON-CHIP PLL")
Figure 52. Timer/Counter 2, 16-Bit Autoreload Mode
TF2
CORE
CLK*
12
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
*THE CORE CLOCK IS THE OUTPUT OF THE PLL (SEE "ON-CHIP PLL")
Figure 53. Timer/Counter 2, 16-Bit Capture Mode
相關(guān)PDF資料
PDF描述
EVAL-ADUC847QSZ KIT DEV QUICK START FOR ADUC847
GBM24DTKT CONN EDGECARD 48POS DIP .156 SLD
EVAL-ADUC7026QSZ KIT DEV FOR ADUC7026/7027
GEM36DSXS CONN EDGECARD 72POS DIP .156 SLD
GBM18DSAI CONN EDGECARD 36POS R/A .156 SLD
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
EVAL-ADUC836QS 制造商:Analog Devices 功能描述:MCU 8BIT 8052 CISC 62KB+4KB FLASH 3.6V 48LQFP - Bulk 制造商:Analog Devices 功能描述:KIT- ADUC836 DEV SYSTEM
EVAL-ADUC841QS 制造商:AD 制造商全稱:Analog Devices 功能描述:MicroConverter 12-Bit ADCs and DACs with Embedded High Speed 62-kB Flash MCU
EVAL-ADUC841QSP2 制造商:AD 制造商全稱:Analog Devices 功能描述:MicroConverter 12-Bit ADCs and DACs with Embedded High Speed 62-kB Flash MCU
EVAL-ADUC841QSPZ 功能描述:KIT DEV QUICK START ADUC841 RoHS:是 類別:編程器,開發(fā)系統(tǒng) >> 通用嵌入式開發(fā)板和套件(MCU、DSP、FPGA、CPLD等) 系列:QuickStart™ PLUS 套件 標(biāo)準(zhǔn)包裝:1 系列:PICDEM™ 類型:MCU 適用于相關(guān)產(chǎn)品:PIC10F206,PIC16F690,PIC16F819 所含物品:板,線纜,元件,CD,PICkit 編程器 產(chǎn)品目錄頁面:659 (CN2011-ZH PDF)
EVAL-ADUC841QSPZ 制造商:Analog Devices 功能描述:Silicon Manufacturer:Analog Devices C