ADuC7060
TIMER0
Timer0 Load Registers
Timer0 is a 32-bit general-purpose timer, count down or count
up, with a programmable prescaler. The prescaler source can be
the low power 32.768 kHz oscillator, the core clock, or from one
of two external GPIOs. This source can be scaled by a factor of
1, 16, 256, or 32,768. This gives a minimum resolution of 97.66 ns
with a prescaler of 1 (ignoring the external GPIOs).
The counter can be formatted as a standard 32-bit value or as
Name:
Address:
Default value:
Access:
Function:
T0LD
0xFFFF0320
0x00000000
Read and write
T0LD is a 32-bit register that holds the 32-bit
hours:minutes:seconds:hundredths.
Timer0 has a capture register (T0CAP) that is triggered by a
selected IRQ source initial assertion. When triggered, the current
value that is loaded into the counter.
Timer0 Clear Register
timer value is copied to T0CAP, and the timer continues to run.
Use this feature to determine the assertion of an event with
increased accuracy. Note that only peripherals that have their
IRQ source enabled can be used with the timer capture feature.
The Timer0 interface consists of five MMRS: T0LD, T0VAL,
T0CAP, T0CLRI, and T0CON.
? T0LD, T0VAL, and T0CAP are 32-bit registers and hold
32-bit unsigned integers of which T0VAL and T0CAP are
Name:
Address:
Access:
Function:
T0CLRI
0xFFFF032C
Write only
This 8-bit, write-only MMR is written
(with any value) by user code to clear the
interrupt.
read only.
Timer0 Value Register
?
T0CLRI is an 8-bit register and writing any value to this
Name:
T0VAL
register clears the Timer0 interrupt.
?
T0CON is the configuration MMR, which is described in
Address:
0xFFFF0324
Timer0 features a postscaler that allows the user to count between
1 and 256 the number of Timer0 timeouts. To activate the post-
scaler, the user sets Bit 18 and writes the desired number to count
into Bits[24:31] of T0CON. When that number of timeouts is
Default value:
Access:
Function:
0xFFFFFFFF
Read only
T0VAL is a 32-bit register that holds the
current value of Timer0.
reached, Timer0 can generate an interrupt if T0CON[Bit 18] is set.
Note that, if the part is in a low power mode and Timer0 is
clocked from the GPIO or low power oscillator source, Timer0
continues to operate.
Timer0 reloads the value from T0LD when Timer0 overflows.
32-BIT LOAD
32.768kHz OSCILLATOR
CORE CLOCK
FREQUENCY/CD
CORE CLOCK
FREQUENCY
PRESCALER
1, 16, 256, OR 32,768
32-BIT
UP/DOWN COUNTER
8-BIT
POSTSCALER
TIMER1 IRQ
GPIO
TIMER1
VALUE
IRQ[31:0]
CAPTURE
Figure 22. Timer0 Block Diagram
Rev. 0 | Page 62 of 100
相关PDF资料
EVAL-ADUC845QSPZ KIT DEV QUICK START ADUC845
EVAL-ADUM3070EBZ BOARD EVAL FOR ADUM3070
EVAL-SDP-CB1Z BOARD EVALUATION FOR SDP-CB1
EVB51JM128 BOARD EVAL FOR MCF51JM128 MCU
EVBQE128 BOARD EVAL FLEXIS QE128 FAMILY
F2068 PNL FIBERGLASS 18.44X14.44" WHT
FAN3100CMPX IC GATE DRVR SGL CMOS 2A 6MLP
FAN3111CSX IC GATE DVR 1CH 1A LOW SOT23-5
相关代理商/技术参数
EVAL-ADUC7060QSPZU1 制造商:Analog Devices 功能描述:
EVALADUC7060QSPZU2 制造商:Analog Devices 功能描述:QUICK START DEVELOPMENT SYSTEM - Boxed Product (Development Kits)
EVAL-ADUC7061MKZ 功能描述:开发板和工具包 - ARM Quick Start Development System RoHS:否 制造商:Arduino 产品:Development Boards 工具用于评估:ATSAM3X8EA-AU 核心:ARM Cortex M3 接口类型:DAC, ICSP, JTAG, UART, USB 工作电源电压:3.3 V
EVAL-ADUC7061MKZ 制造商:Analog Devices 功能描述:ADUC7061MKZ EvaluationBoard
EVAL-ADUC7061MKZU2 制造商:Analog Devices 功能描述:PN may be NE CE 制造商:Analog Devices 功能描述:EVALUATION CONTROL BOARD - Boxed Product (Development Kits)
EVAL-ADUC7121QSPZ 功能描述:BOARD EVALUATION FOR ADUC7121 RoHS:是 类别:编程器,开发系统 >> 通用嵌入式开发板和套件(MCU、DSP、FPGA、CPLD等) 系列:MicroConverter® ADuC7xxx 标准包装:1 系列:PICDEM™ 类型:MCU 适用于相关产品:PIC10F206,PIC16F690,PIC16F819 所含物品:板,线缆,元件,CD,PICkit 编程器 产品目录页面:659 (CN2011-ZH PDF)
EVALADUC7121QSPZU1 制造商:Analog Devices 功能描述:QUICK START DEVELOPMENT SYSTEM - Boxed Product (Development Kits)
EVAL-ADUC7122QSPZ 功能描述:BOARD EVALUATION FOR ADUC7122 RoHS:是 类别:编程器,开发系统 >> 通用嵌入式开发板和套件(MCU、DSP、FPGA、CPLD等) 系列:MicroConverter® ADuC7xxx 标准包装:1 系列:PICDEM™ 类型:MCU 适用于相关产品:PIC10F206,PIC16F690,PIC16F819 所含物品:板,线缆,元件,CD,PICkit 编程器 产品目录页面:659 (CN2011-ZH PDF)