Datasheet
2009-2011 Microchip Technology Inc. DS39960D-page 243
PIC18F87K22 FAMILY
18.6 Register Maps
Table 18-5, Table 1 8-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 RTCPTR0
RTCCAL CAL7 CAL6 CAL5 CAL4 CAL3 CAL2 CAL1 CAL0
PADCFG1 RDPU REPU RJPU
(1)
— — RTSECSEL1 RTSECSEL0 —
ALRMCFG ALRMEN CHIME AMASK3 AMASK2 AMASK1 AMASK0 ALRMPTR1 ALRMPTR0
ALRMRPT ARPT7 ARPT6 ARPT5 ARPT4 ARPT3 ARPT2 ARPT1 ARPT0
PMD1
PSPMD CTMUMD RTCCMD TMR4MD TMR3MD TMR2MD TMR1MD EMBDM
Legend: — = unimplemented, read as ‘0’. Reset values are shown in hexadecimal for 80-pin devices.
Note 1: Unimplemented on 64-pin devices (PIC18F6XK22), read as ‘0’.
TABLE 18-6: RTCC VALUE REGISTERS
File Name Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0
RTCVALH RTCC Value High Register Window Based on RTCPTR<1:0>
RTCVALL RTCC Value Low Register Window Based on RTCPTR<1:0>
TABLE 18-7: ALARM VALUE REGISTERS
File Name Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0
ALRMVALH Alarm Value High Register Window Based on ALRMPTR<1:0>
ALRMVALL Alarm Value Low Register Window Based on ALRMPTR<1:0>