数据搜索系统,热门电子元器件搜索
  Chinese  ▼
ALLDATASHEETCN.COM

X  

ADE7166 数据表(PDF) 116 Page - Analog Devices

部件名 ADE7166
功能描述  Single-Phase Energy Measurement IC with 8052 MCU, RTC, and LCD Driver
PDF  144 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
制造商  AD [Analog Devices]
网页  http://www.analog.com
标志 AD - Analog Devices

ADE7166 数据表(HTML) 116 Page - Analog Devices

Back Button ADE7166 Datasheet HTML 112Page - Analog Devices ADE7166 Datasheet HTML 113Page - Analog Devices ADE7166 Datasheet HTML 114Page - Analog Devices ADE7166 Datasheet HTML 115Page - Analog Devices ADE7166 Datasheet HTML 116Page - Analog Devices ADE7166 Datasheet HTML 117Page - Analog Devices ADE7166 Datasheet HTML 118Page - Analog Devices ADE7166 Datasheet HTML 119Page - Analog Devices ADE7166 Datasheet HTML 120Page - Analog Devices Next Button
Zoom Inzoom in Zoom Outzoom out
 116 / 144 page
background image
ADE7566/ADE7569/ADE7166/ADE7169
Rev. A | Page 116 of 144
REAL-TIME CLOCK
The ADE7566/ADE7569/ADE7166/ADE7169 have an
embedded real-time clock (RTC) as shown in
RTC REGISTERS
Figure 101. The
external 32.768 kHz crystal is used as the clock source for the
RTC. Calibration is provided to compensate the nominal crystal
frequency and for variations in the external crystal frequency
over temperature. By default, the RTC is maintained active in all
power saving modes. The RTC counters retain their values
through watchdog resets and external resets. They are only reset
during a power-on reset.
Note that all the real-time clock SFRs are not bit addressable.
Table 119. Real-Time Clock SFR
SFR
Address
Description
TIMECON
0xA1
RTC Configuration (see Table 120).
HTHSEC
0xA2
Hundredths of a Second Counter
(see Table 121).
8-BIT
PRESCALER
SECOND COUNTER
SEC
MINUTE COUNTER
MIN
HOUR COUNTER
HOUR
ITEN
ALARM
EVENT
8-BIT
INTERVAL COUNTER
INTVAL SFR
INTERVAL
TIMEBASE
SELECTION
MUX
RTCEN
32.768kHz
CRYSTAL
ITS1 ITS0
EQUAL?
CALIBRATION
RTCCOMP
TEMPCAL
MIDNIGHT EVENT
CALIBRATED
32.768kHz
HUNDREDTHS COUNTER
HTHSEC
Figure 101. RTC Implementation
SEC
0xA3
Seconds Counter (see Table 122).
MIN
0xA4
Minutes Counter (see Table 123).
HOUR
0xA5
Hours Counter (see Table 124).
INTVAL
0xA6
Alarm Interval (see Table 125).
RTCCOMP
0xF6
RTC Nominal Compensation
(see Table 126).
TEMPCAL
0xF7
RTC Temperature Compensation
(see Table 127).
Protecting the RTC from Runaway Code
To protect the RTC from runaway code, a key must be written
to the KYREG register to obtain write access to the Interrupt
Pins Configuration SFR (INTPR, 0xFF), Hundredths of a
Second Counter SFR (HTHSEC, 0xA2), Seconds Counter SFR
(SEC, 0xA3), Minutes Counter SFR (MIN, 0xA4), and Hours
Counter SFR (HOUR, 0xA5). KYREG should be set to 0xEA to
unlock it and reset it to zero after a timekeeping register is
written to. The RTC registers can be written using the following
8052 assembly code:
MOV
KYREG,#0EAh
MOV
INTPR,#080h



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100  ...More


数据表 下载

Go To PDF Page


链接网址



ALLDATASHEET是否为您带来帮助?  [ DONATE ] 

关于 Alldatasheet   |   广告服务   |   联系我们   |   隐私政策   |   数据表链接    |   链接交换   |   制造商名单
All Rights Reserved©Alldatasheet.com


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
Russian : Alldatasheetru.com  |   Korean : Alldatasheet.co.kr  |   Spanish : Alldatasheet.es  |   French : Alldatasheet.fr  |   Italian : Alldatasheetit.com
Portuguese : Alldatasheetpt.com  |   Polish : Alldatasheet.pl  |   Vietnamese : Alldatasheet.vn
Indian : Alldatasheet.in  |   Mexican : Alldatasheet.com.mx  |   British : Alldatasheet.co.uk  |   New Zealand : Alldatasheet.co.nz
Family Site : ic2ic.com  |   icmetro.com