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

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
Preliminary Technical Data
TIMER0—LIFE-TIME TIMER
Timer0 is a general purpose 48-bit count-up, or a 16-bit count
up/down timer with a programmable prescalar. Timer0 may be
clocked from either the Core clock or the Low Power
32.768kHz Oscillator, with a prescalar of 1, 16, 256 or 32768.
This gives a minimum resolution of 48.83ns when the core is
operating at 20.48MHz, and with a prescalar of 1.
In 48-bit mode, Timer0 counts up from zero. The current
counter value may be read from T0VAL0 and T0VAL1.
In 16-Bit mode,Timer0 may count up or count down. A 16-bit
value may be written to T0LD, which will be loaded into the
counter. The current counter value may be read from T0VAL0.
Timer0 has a capture register (T0CAP), which may be triggered
by a selected IRQ’s source initial assertion. Once triggered, the
current timer value is copied to T0CAP, and the timer keeps
running. This feature can be used to determine the assertion of
an event with more accuracy than by servicing an interrupt
alone.
Timer0 reloads the value from T0LD either when timer0
overflows, or immediately when T0CLRI is written.
Timer0 interface consists of six MMRS:
- T0LD is a 16-bit register, which holds the 16-bit value that is
loaded into the counter. T0LD is only available in 16-bit mode.
- T0CAP is a 16-bit register, which holds the 16-bit value
captured by an enabled IRQ event. T0CAP is only available in
16-bit mode.
- T0VAL0/T0VAL1 are 16-bit and 32-bit registers which hold
the 16 least significant bits and 32 most significant bits
respectively. T0VAL0 and T0VAL1 is read-only. In 16-bit mode,
16-bit T0VAL0 is used. In 48-bit mode, both 16-bit T0VAL0
and 32-bit T0VAL1 are used.
- T0CLRI is an 8-bit register. Writing any value to this register
will clear the interrupt. T0CLRI is only available in 16-bit mode.
Rev. PrE | Page 83 of 150
- T0CON is the configuration MMR described in Table 47.
Timer0 Value Register:
Name:
Address:
Default
Value:
Access:
Function:
Timer0 Capture Register:
Name:
Address:
Default
Value:
Access:
Function:
32.768kHz OSCILLATOR
32.768kHz OSCILLATOR
EXTERNAL 32.768kHz
CLOCK FREQUENCY
WATCH CRYSTAL
LOW POWER
PRECISION
CORE
T0VAL0/T0VAL1
0xFFFF0304, 0xFFFF0308
0x0000, 0x00000000
Read Access only
T0VAL0 and T0VAL1 are 16-bit and 32-bit
registers, which hold the 16 least significant bits
and 32 most significant bits respectively. T0VAL0
and T0VAL1 is read-only. In 16-bit mode, 16-bit
T0VAL0 is used. In 48-bit mode, both 16-bit
T0VAL0 and 32-bit T0VAL1 are used.
T0CAP
0xFFFF0314
0x0000
Read Access only
This is a 16-bit register, which holds the 16-bit
value captured by an enabled IRQ event. Only
available in 16-bit mode.
Figure 30. Timer 0 block diagram
1, 16, 256, OR 32768
IRQ[31:0]
PRESCALER
ADuC7030/ADuC7033
16-BIT UP/DOWN COUNTER
CAPTURE
48-BIT UP COUNTER
16-BIT LOAD
TIMER0
VALUE
TIMER0 IRQ

Related parts for aduc7030