EVAL-ADUC814QS Analog Devices Inc, EVAL-ADUC814QS Datasheet - Page 39

KIT DEV FOR ADUC814 QUICK START

EVAL-ADUC814QS

Manufacturer Part Number
EVAL-ADUC814QS
Description
KIT DEV FOR ADUC814 QUICK START
Manufacturer
Analog Devices Inc
Series
QuickStart™ Kitr
Type
8052-corer
Datasheet

Specifications of EVAL-ADUC814QS

Contents
Evaluation Board, Power Supply, Cable, Software and Documentation
For Use With/related Products
ADuC814
Lead Free Status / RoHS Status
Contains lead / RoHS non-compliant
TIMECON
SFR Address
Power-On Default
Bit Addressable
Table 14. TIMECON SFR Bit Designations
Bit No.
7
6
4
3
2
1
0
---
Name
---
TFH
ITS1
ITS0
STI
TII
TIEN
TCEN
Description
Reserved.
Twenty-Four Hour Select Bit.
Set by the user to enable the HOUR counter to count from 0 to 23.
Cleared by the user to enable the HOUR counter to count from 0 to 255.
The time interval counter continues to count after a reset when in hours/min/sec mode. If the part is in 24 hour
mode though, this bit is reset and the part now counts in 255 hour mode. The following code segment can be used
to set the TIC back into 24 hour mode after a RESET event.
NOTSE:
Interval Timebase Selection Bits.
Written by the user to determine the interval counter update rate.
ITS1
0
0
1
1
Single Time Interval Bit.
Set by the user to generate a single interval timeout. If set, a timeout clears the TIEN bit.
Cleared by the user to allow the interval counter to be automatically reloaded and start counting again at each
interval timeout.
TIC Interrupt Bit.
Set when the 8-bit interval counter matches the value in the INTVAL SFR.
Cleared by the user software.
Time Interval Enable Bit.
Set by the user to enable the 8-bit time interval counter.
Cleared by the user to disable and clear the contents of the interval counter.
Time Clock Enable Bit.
Set by the user to enable the time clock to the time interval counters.
Cleared by the user to disable the clock to the time interval counters and clear the time interval SFRs.
The time registers (HTHSEC, SEC, MIN and HOUR) can be written while TCEN is low.
TFH
TIC CONTROL REGISTER
A1H
00H
No
MOV
RRC
JNC
ORL
ITS0
0
1
0
1
ITS1
A,TIMECON
A
NOTSET
TIMECON,#01000000B
Interval Timebase
1/128 Second
Seconds
Minutes
Hours
;Move contents of TIMECON into ACC
;Rotate ACC right by 1 place into Carry
;If CARRY bit is ! = 1 jump to NOTSET, else continue with next line
;If CARRY bit = 1 for last line, then logical OR TIMECON with 40H
;continuation of normal code from here
ITS0
Rev. A | Page 39 of 72
STI
TII
TIEN
ADuC814
TCEN

Related parts for EVAL-ADUC814QS