參數(shù)資料
型號: EVAL-ADUC834QSZ
廠商: Analog Devices Inc
文件頁數(shù): 48/80頁
文件大?。?/td> 0K
描述: KIT DEV QUICK START ADUC834
標(biāo)準(zhǔn)包裝: 1
系列: QuickStart™ 套件
類型: MCU
適用于相關(guān)產(chǎn)品: ADuC834
所含物品: 評估板,線纜,電源,軟件和文檔
REV. A
–52–
ADuC834
TIMERS/COUNTERS
The ADuC834 has three 16-bit Timer/Counters: Timer 0,
Timer 1, and Timer 2. The Timer/Counter hardware has been
included on-chip to relieve the processor core of the overhead
inherent in implementing timer/counter functionality in soft-
ware. Each Timer/Counter consists of two 8-bit registers THx
and TLx (x = 0, 1 and 2). All three can be configured to oper-
ate either as timers or event counters.
In ‘Timer’ function, the TLx Register is incremented every
machine cycle. Thus it can be viewed as counting machine
cycles. Since a machine cycle consists of 12 core clock periods,
the maximum count rate is 1/12 of the core clock frequency.
In ‘Counter’ function, the TLx Register is incremented by a
1-to-0 transition at its corresponding external input pin, T0,
T1, or T2. In this function, the external input is sampled during
S5P2 of every machine cycle. When the samples show a high in
one cycle and a low in the next cycle, the count is incremented.
The new count value appears in the register during S3P1 of the
cycle following the one in which the transition was detected.
Since it takes two machine cycles (16 core clock periods) to
recognize a 1-to-0 transition, the maximum count rate is 1/16 of
the core clock frequency. There are no restrictions on the duty
cycle of the external input signal, but to ensure that a given level
is sampled at least once before it changes, it must be held for a
minimum of one full machine cycle. Remember that the core
clock frequency is programmed via the CD0–2 selection bits in
the PLLCON SFR.
User configuration and control of the timers is achieved via
three main SFRs. TMOD and TCON control the configuration
of Timers 0 and 1 while T2CON configures Timer 2.
TMOD
Timer/Counter 0 and 1 Mode Register
SFR Address
89H
Power-On Default Value
00H
Bit Addressable
No
Table XXVI. TMOD SFR Bit Designations
Bit
Name
Description
7
Gate
Timer 1 Gating Control.
Set by software to enable timer/counter 1 only while
INT1 pin is high and TR1 control bit is set.
Cleared by software to enable Timer 1 whenever TR1 control bit is set.
6C/
T
Timer 1 Timer or Counter Select Bit.
Set by software to select counter operation (input from T1 pin).
Cleared by software to select timer operation (input from internal system clock).
5M1Timer 1 Mode Select Bit 1 (used with M0 Bit)
4M0Timer 1 Mode Select Bit 0.
M1
M0
00
TH1 operates as an 8-bit timer/counter. TL1 serves as 5-bit prescaler.
01
16-Bit Timer/Counter. TH1 and TL1 are cascaded; there is no prescaler.
10
8-Bit Auto-Reload Timer/Counter. TH1 holds a value that is to be
reloaded into TL1 each time it overflows.
11Timer/Counter 1 Stopped.
3
Gate
Timer 0 Gating Control.
Set by software to enable timer/counter 0 only while
INT0 pin is high and TR0 control bit is set.
Cleared by software to enable Timer 0 whenever TR0 control bit is set.
2C/
T
Timer 0 Timer or Counter Select Bit.
Set by software to select counter operation (input from T0 pin).
Cleared by software to select timer operation (input from internal system clock).
1M1Timer 0 Mode Select Bit 1
0M0Timer 0 Mode Select Bit 0.
M1
M0
00
TH0 operates as an 8-bit timer/counter. TL0 serves as 5-bit prescaler.
01
16-Bit Timer/Counter. TH0 and TL0 are cascaded; there is no prescaler
108-Bit Auto-Reload Timer/Counter. TH0 holds a value that is to be
reloaded into TL0 each time it overflows.
11
TL0 is an 8-bit timer/counter controlled by the standard timer 0 control
bits. TH0 is an 8-bit timer only, controlled by Timer 1 control bits.
相關(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