aduc7030 Analog Devices, Inc., aduc7030 Datasheet - Page 86

no-image

aduc7030

Manufacturer Part Number
aduc7030
Description
Integrated Precision Battery Sensor For Automotive
Manufacturer
Analog Devices, Inc.
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
aduc7030BCPZ
Manufacturer:
ADI/亚德诺
Quantity:
20 000
Part Number:
aduc7030BCPZ-8V
Manufacturer:
Analog Devices Inc
Quantity:
135
ADuC7030/ADuC7033
TIMER1
Timer1 is a 32-bit general purpose timer, count-down or count-
up, with a programmable pre-scalar. The pre-scalar source can
be the Low Power 32.768kHz Oscillator, the core clock, or from
one of two external GPIO. This source can be scaled by a factor
of 1, 16, 256 or 32768. This gives a minimum resolution of
48.83ns when operating at CD zero, the core is operating at
20.48MHz, and with a pre-scalar of 1 (Ignoring external GPIO).
The counter can be formatted as a standard 32-bit value or as
Hours:Minutes:Seconds:Hundreths.
Timer1 has a capture register (T1CAP), which can be triggered
by a selected IRQ’s source initial assertion. Once triggered, the
current timer value is copied to T1CAP, and the timer keeps
running. This feature can be used to determine the assertion of
an event with increased accuracy.
Timer1 interface consists of five MMRS:
- T1LD, T1VAL and T1CAP are 32-bit registers and hold 32-bit
unsigned integers. T1VAL and T1CAP are read-only.
- T1CLRI is an 8-bit register. Writing any value to this register
will clear the timer1 interrupt.
- T1CON is the configuration MMR described in below.
Timer1 features a post-scalar. This allows the user to count
between1 and 256 the number of timer1 timeouts. To activate
the post-scalar, the user sets bit 18 and writes the desired
number to count into bits 24-31 of T1CON. Once that number
of timeouts has reached, Timer1 may generate an interrupt if
T1CON[18] is set.
NOTE:
If the part is in a low power mode, and Timer1 is
clocked from the GPIO or low power oscillator source
then, Timer1 will continue to operate.
32.768kHz OSCILLATOR
CLOCK FREQUENCY
LOW POWER
CORE
GPIO
GPIO
1, 16, 256, OR 32768
IRQ[31:0]
PRESCALER
Figure 31. Timer 1 Block Diagram
Rev. PrE | Page 86 of 150
CAPTURE
UP/DOWN COUNTER
32-BIT LOAD
32-BIT
Timer1 reloads the value from T1LD either when Timer1
overflows, or immediately when T1CLRI is written.
Timer1 Load Registers:
Name:
Address:
Default
Value:
Access:
Function:
Timer1 Clear Register:
Name:
Address:
Access:
Function:
Timer1 Value Register:
Name:
Address:
Default
Value:
Access:
Function:
TIMER1
VALUE
T1LD
0xFFFF0320
0x00000000
Read/Write
T1LD is a 32-bit register, which holds the 32-bit
value that is loaded into the counter.
T1CLRI
0xFFFF032C
Write Only
This 32-bit, write-only MMR is written (with any
value) by user code to refresh (reload) Timer1.
T1VAL
0xFFFF0324
0xFFFFFFFF
Read Only
T1VAL is a 32-bit register, which holds the current
value of Timer1.
Preliminary Technical Data
POSTSCALER
8-BIT
TIMER1 IRQ

Related parts for aduc7030