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

X  

MCP79520-I/MS 数据表(PDF) 16 Page - Microchip Technology

部件名 MCP79520-I/MS
功能描述  Battery-Backed SPI Real-Time Clock/Calendar
PDF  58 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
制造商  MICROCHIP [Microchip Technology]
网页  http://www.microchip.com
标志 MICROCHIP - Microchip Technology

MCP79520-I/MS 数据表(HTML) 16 Page - Microchip Technology

Back Button MCP79520-I/MS Datasheet HTML 12Page - Microchip Technology MCP79520-I/MS Datasheet HTML 13Page - Microchip Technology MCP79520-I/MS Datasheet HTML 14Page - Microchip Technology MCP79520-I/MS Datasheet HTML 15Page - Microchip Technology MCP79520-I/MS Datasheet HTML 16Page - Microchip Technology MCP79520-I/MS Datasheet HTML 17Page - Microchip Technology MCP79520-I/MS Datasheet HTML 18Page - Microchip Technology MCP79520-I/MS Datasheet HTML 19Page - Microchip Technology MCP79520-I/MS Datasheet HTML 20Page - Microchip Technology Next Button
Zoom Inzoom in Zoom Outzoom out
 16 / 58 page
background image
MCP7951X/MCP7952X
DS20002300D-page 16
 2012-2022 Microchip Technology Inc.and its subsidiaries
5.3
Timekeeping
The MCP795XX maintains the current time and date
using an external 32.768 kHz crystal or clock source.
Separate registers are used for tracking hundredths of
seconds, seconds, minutes, hours, day of week, date,
month and year. The MCP795XX automatically adjusts
for months with less than 31 days and compensates for
leap years from 2001 to 2399. The year is stored as a
two-digit value.
Both 12-hour and 24-hour time formats are supported
and are selected using the 12/24 bit.
The day of week value counts from 1 to 7, increments
at midnight and the representation is user-defined (i.e.,
the MCP795XX does not require 1 to equal Sunday,
etc.).
All time and date values are stored in the registers as
binary-coded decimal (BCD) values. The MCP795XX
will continue to maintain the time and date while
operating off the backup supply.
When reading from the timekeeping registers, the
registers are buffered to prevent errors due to rollover
of counters. The following events cause the buffers to
be updated:
• When a read is initiated from the RTCC registers
(addresses 0x00 to 0x1F)
• During an RTCC register read operation, when
the register address rolls over from 0x1F to 0x00
The timekeeping registers should be read in a single
operation to utilize the on-board buffers and avoid
rollover issues.
5.3.1
DIGIT CARRY RULES
The following list explains which timer values cause a
digit carry when there is a rollover:
• Time of day: from 11:59:59.99 PM to 12:00:00.00
AM (12-hour mode) or 23:59:59.99 to 00:00:00.00
(24-hour mode), with a carry to the Date and
Weekday fields
• Date: carries to the Month field according to
Table 5-3
• Weekday: from 7 to 1 with no carry
• Month: from 12/31 to 01/01 with a carry to the
Year field
• Year: from 99 to 00 with no carry
TABLE 5-2:
SUMMARY OF REGISTERS ASSOCIATED WITH OSCILLATOR
CONFIGURATION
Name
Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
Register
on Page
RTCSEC
ST
SECTEN2 SECTEN1 SECTEN0
SECONE3
SECONE2 SECONE1 SECONE0
18
RTCWKDAY
OSCRUN
PWRFAIL
VBATEN
WKDAY2
WKDAY1
WKDAY0
20
CONTROL
SQWEN
ALM1EN
ALM0EN
EXTOSC
CRSTRIM
SQWFS1
SQWFS0
29
Legend:
— = unimplemented location, read as ‘0’. Shaded cells are not used by oscillator configuration.
Note 1: Loading invalid values into the time and
date registers will result in undefined
operation.
2: To avoid rollover issues when loading
new
time
and
date
values,
the
oscillator/clock input should be disabled
by clearing the ST bit for External Crystal
mode and the EXTOSC bit for External
Clock Input mode. After waiting for the
OSCRUN bit to clear, the new values can
be loaded and the ST or EXTOSC bit can
then be re-enabled.
TABLE 5-3:
DATE TO MONTH ROLLOVER
SCHEDULE
Month
Name
Maximum Date
01
January
31
02
February
28 or 29(1)
03
March
31
04
April
30
05
May
31
06
June
30
07
July
31
08
August
31
09
September
30
10
October
31
11
November
30
12
December
31
Note 1: 29 during leap years, otherwise 28.



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


数据表 下载

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