English
Language : 

PIC18F87K22 Datasheet, PDF (228/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
REGISTER 18-2: RTCCAL: RTCC CALIBRATION REGISTER
R/W-0
R/W-0
R/W-0
R/W-0
R/W-0
CAL7
CAL6
CAL5
CAL4
CAL3
bit 7
R/W-0
CAL2
R/W-0
CAL1
R/W-0
CAL0
bit 0
Legend:
R = Readable bit
-n = Value at POR
W = Writable bit
‘1’ = Bit is set
U = Unimplemented bit, read as ‘0’
‘0’ = Bit is cleared
x = Bit is unknown
bit 7-0
CAL<7:0>: RTC Drift Calibration bits
01111111 = Maximum positive adjustment. Adds 508 RTC clock pulses every minute.
.
.
.
00000001 = Minimum positive adjustment. Adds four RTC clock pulses every minute.
00000000 = No adjustment
11111111 = Minimum negative adjustment. Subtracts four RTC clock pulses every minute.
.
.
.
10000000 = Maximum negative adjustment. Subtracts 512 RTC clock pulses every minute.
REGISTER 18-3: PADCFG1: PAD CONFIGURATION REGISTER
R/W-0
R/W-0
R/W-0
U-0
RDPU
REPU
RJPU(2)
—
U-0
R/W-0
R/W-0
—
RTSECSEL1(1) RTSECSEL0(1)
bit 7
U-0
—
bit 0
Legend:
R = Readable bit
-n = Value at POR
W = Writable bit
‘1’ = Bit is set
U = Unimplemented bit, read as ‘0’
‘0’ = Bit is cleared
x = Bit is unknown
bit 7
bit 6
bit 5
bit 2-1
bit 0
RDPU: PORTD Pull-up Enable bit
1 = PORTD pull-up resistors are enabled by individual port latch values
0 = All PORTD pull-up resistors are disabled
REPU: PORTE Pull-up Enable bit
1 = PORTE pull-up resistors are enabled by individual port latch values
0 = All PORTE pull-up resistors are disabled
RJPU: PORTJ Pull-up Enable bit(2)
1 = PORTJ pull-up resistors are enabled by individual port latch values
0 = All PORTJ pull-up resistors are disabled
RTSECSEL<1:0>: RTCC Seconds Clock Output Select bit(1)
11 = Reserved; do not use
10 = RTCC source clock is selected for the RTCC pin (pin can be LF-INTOSC or SOSC, depending on
the RTCOSC (CONFIG3L<1>) bit setting)
01 = RTCC seconds clock is selected for the RTCC pin
00 = RTCC alarm pulse is selected for the RTCC pin
Unimplemented: Read as ‘0’
Note 1: To enable the actual RTCC output, the RTCOE (RTCCFG<2>) bit must be set.
2: Available only on 80-pin parts.
DS39960B-page 228
Preliminary
 2010 Microchip Technology Inc.