參數(shù)資料
型號(hào): USB-EA-CONVZ
廠商: Analog Devices Inc
文件頁數(shù): 52/68頁
文件大?。?/td> 0K
描述: SUPPORT BOARD ADUC8XX
標(biāo)準(zhǔn)包裝: 1
類型: 仿真器
適用于相關(guān)產(chǎn)品: ADuC8xx
所含物品: 模塊
REV. B
ADuC824
–56–
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 XXVI.
Table XXVI. TIMECON SFR Bit Designations
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
In ‘Autoreload’ mode, there are two options, which 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. The autoreload mode is illustrated
in Figure 38.
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 AS DESCRIBED ON PAGE 42.
Figure 38. 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 AS DESCRIBED ON PAGE 42.
Figure 39. Timer/Counter 2, 16-Bit Capture Mode
16-Bit Capture Mode
In the ‘Capture’ mode, there are again two options, which are
selected by bit EXEN2 in T2CON. If EXEN2 = 0, then Timer 2
is a 16-bit timer or counter which, upon overflowing, sets bit TF2,
the Timer 2 overflow bit, which can be used to generate an inter-
rupt. 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 regis-
ters 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. The Capture Mode
is illustrated in Figure 39.
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. Hence 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 and this can
be used as a third external interrupt.
Baud rate generation will be described as part of the UART
serial port operation in the following pages.
相關(guān)PDF資料
PDF描述
RGP10KE-E3/54 DIODE GPP 1A 800V 500NS DO-41
A7NXB-1506G CABLE D-SUB - AMN15B/AE15G/X
C1005C0G1H470J CAP CER 47PF 50V 5% NP0 0402
SLF6045T-220M1R1-3PF INDUCTOR POWER 22UH 1.1A SMD
GBM12DRTI-S13 CONN EDGECARD 24POS .156 EXTEND
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
USB-ETH ADAPTER 制造商:DANAHER - FLUKE 功能描述:USB TO 10/100MBPS ETHERNET ADAPTER
USB-ETHERNET-AX88772B 制造商:Olimex 功能描述:USB ETH ADAPTOR OLINUXINO
USB-EVAL 功能描述:界面開發(fā)工具 USB products evalua- tion board unpopultd RoHS:否 制造商:Bourns 產(chǎn)品:Evaluation Boards 類型:RS-485 工具用于評(píng)估:ADM3485E 接口類型:RS-485 工作電源電壓:3.3 V
USBEX02 制造商:Distributed By MCM 功能描述:15' USB 2.0 Active Extension Cable
USBEXT-150 制造商:DigitHead Inc 功能描述:USB EXTENDER 150'