English
Language : 

PIC18F87K22 Datasheet, PDF (241/548 Pages) Microchip Technology – 64/80-Pin, High-Performance, 1-Mbit Enhanced Flash Microcontrollers with 12-Bit A/D and nanoWatt XLP Technology
PIC18F87K22 FAMILY
18.6 Register Maps
Table 18-5, Table 18-6 and Table 18-7 summarize the
registers associated with the RTCC module.
TABLE 18-5: RTCC CONTROL REGISTERS
File Name
Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
RTCCFG
RTCEN
—
RTCWREN RTCSYNC HALFSEC
RTCOE
RTCPTR1
RTCCAL
PADCFG1
CAL7
—
CAL6
—
CAL5
RJPU(1)
CAL4
—
CAL3
—
CAL2
CAL1
RTSECSEL1 RTSECSEL0
ALRMCFG ALRMEN
CHIME
AMASK3 AMASK2 AMASK1
AMASK0 ALRMPTR1
ALRMRPT
ARPT7
ARPT6
ARPT5
ARPT4
ARPT3
ARPT2
ARPT1
PMD1
PSPMD
CTMUMD RTCCMD TMR4MD TMR3MD
TMR2MD
TMR1MD
Legend: — = unimplemented, read as ‘0’. Reset values are shown in hexadecimal for 80-pin devices.
Note 1: Not available on 64-pin devices (PIC18F6XK22).
RTCPTR0
CAL0
—
ALRMPTR0
ARPT0
EMBDM
TABLE 18-6: RTCC VALUE REGISTERS
File Name
Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
RTCVALH
RTCVALL
RTCC Value High Register Window Based on RTCPTR<1:0>
RTCC Value Low Register Window Based on RTCPTR<1:0>
Bit 2
Bit 1
Bit 0
TABLE 18-7: ALARM VALUE REGISTERS
File Name
Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
ALRMVALH Alarm Value High Register Window Based on ALRMPTR<1:0>
ALRMVALL Alarm Value Low Register Window Based on ALRMPTR<1:0>
Bit 2
Bit 1
Bit 0
 2010 Microchip Technology Inc.
Preliminary
DS39960B-page 241