MCP795WXX/MCP795BXX
All of the RTCC registers are backed up from the VBAT
supply when VCC is not available, provided that the
VBATEN bit is set. Any unused bits or non imple-
mented addresses read back as ‘0’. No error checking
is provided for any of the RTCC, the user may load
any value.
4.0
RTCC FUNCTIONALITY
4.0.1
RTCC REGISTER MAP
The RTCC register space runs from 0x00 through to
0x1F. Any read or write that is started within the RTCC
register address space will wrap to the beginning of
the RTCC registers.
The RTCC register map is shown in Table 4-1.
TABLE 4-1:
RTCC REGISTER MAP
Address
BIT 7
BIT 6
BIT 5
BIT 4
BIT 3
BIT 2
BIT 1
BIT 0
FUNCTION
RANGE
Time and Configuration Registers
00h
Tenth Seconds
Hundredths of Seconds
Hundredths of
seconds
00-99
01h
02h
03h
ST (CT)
10 Seconds
10 Minutes
Seconds
Minutes
Hour
Seconds
Minutes
Hours
00-59
00-59
CALSGN
10 Hour
AM/PM
10 Hour
VBAT
1-12 + AM/PM
00 - 23
12/24
04h
05h
06h
07h
08h
09h
0Ah
0Bh
OSCON
VBATEN
EXTOSC
Day
Date
Day
1-7
10 Date
Date
01-31
01-12
00-99
LP
10 Month
Month
Month
10 Year
Year
Year
OUT
SQWE
ALM1
ALM0
RS2
RS1
RS0
Control Reg.
Calibration
Watchdog
Event Detect
CALIBRATION
WDTEN
EVHIF
WDTIF
EVLIF
WDDEL
EVEN1
WDTPLS
EVEN0
WD3
EVWDT
WD2
WD1
WD0
EVLDB
EVHS1
EVHS0
Alarm 0 Registers
0Ch
0Dh
0Eh
10 Seconds
10 Minutes
Seconds
Seconds
Minutes
Hours
00-59
00-59
Minutes
Hour
10 Hour
AM/PM
10 Hours
ALM0C0
1-12 + AM/PM
00-23
12/24
0Fh
10h
11h
ALM0PIN
ALM0C2
ALM0C1
ALM0IF
Day
Day
1-7
10 Date
Date
Date
Month
01-31
01-12
10 Month
Month
Alarm 1 Registers
12h
Tenth Seconds
Hundredths of seconds
Hundredths
of Seconds
00-99
13h
14h
15h
10 Seconds
10 Minutes
Seconds
Minutes
Hour
Seconds
Minutes
Hours
00-59
00-59
10 Hour
AM/PM
10 Hours
ALM1C0
1-12 + AM/PM
00-23
12/24
16h
17h
ALM1PIN
ALM1C2
ALM1C1
ALM1IF
Day
Day
1-7
10 Date
Date
Date
01-31
Power-down Time-stamp Registers
Minutes
18h
19h
10 Minutes
10 Hour
AM/PM
10 Hours
Hour
12/24
Day
1Ah
1Bh
10 Date
Date
10 Month
10 Hours
Month
Power-Up Time-stamp Registers
1Ch
1Dh
10 Minutes
12/24
Minutes
Hour
10 Hour
AM/PM
1Eh
1Fh
10 Date
10 Month
Date
Day
Month
2011 Microchip Technology Inc.
Preliminary
DS22280A-page 11