aduc814aru-reel7 Analog Devices, Inc., aduc814aru-reel7 Datasheet - Page 38

no-image

aduc814aru-reel7

Manufacturer Part Number
aduc814aru-reel7
Description
Microconverter, Small Package 12-bit Adc With Embedded Flash Mcu
Manufacturer
Analog Devices, Inc.
Datasheet
ADuC814
TIME INTERVAL COUNTER (TIC)
A time interval counter is provided on-chip for counting longer
intervals than the standard 8051 compatible timers are capable
of. The TIC is capable of time-out intervals ranging from 1/128th
second to 255 hours. Furthermore, this counter is clocked by the
crystal oscillator rather than by the PLL and thus has the ability
to remain active in power-down mode and to time long power-
down intervals. This has obvious applications for remote battery-
powered sensors where regular, widely spaced readings are
required.
Six SFRs are associated with the time interval counter, TIMECON
being its control register. Depending on the configuration of the
IT0 and IT1 bits in TIMECON, the selected time counter register
overflow clocks the interval counter. When this counter is equal
to the time interval value loaded in the INTVAL SFR, the TII bit
(TIMECON.2) is set and generates an interrupt if enabled. (See
IEIP2 SFR description under the Interrupt System section.) If
the ADuC814 is in power-down mode, again with TIC interrupt
enabled, the TII bit wakes up the device and resumes code execu-
tion by vectoring directly to the TIC interrupt service vector
address at 0053H. The TIC-related SFRs are described in
Table 14. Note that the time based SFRs can be written initially
with the current time; the TIC can then be controlled and
accessed by the user software. In effect, this facilitates the
implementation of a real-time clock. A block diagram of the
TIC is shown in Figure 43.
Rev. A | Page 38 of 72
TIME INTERVAL COUNTER INTERRUPT
TCEN
INTERVAL TIMEOUT
32.768kHz EXTERNAL CRYSTAL
Figure 43. Time Interval Counter, Simplified Block Diagram
HUNDREDTHS COUNTER
SECOND COUNTER
MINUTE COUNTER
HOUR COUNTER
PRESCALER
HOUR
8-BIT
HTHSEC
SEC
MIN
INTERVAL COUNTER
COUNT = INTVAL
TIMER INTVAL
COMPARE
INTVAL
8-BIT
SELECTION
INTERVAL
TIMEBASE
ITS0, 1
MUX
TIEN

Related parts for aduc814aru-reel7