English
Language : 

PIC18F87K90 Datasheet, PDF (218/566 Pages) Microchip Technology – 64/80-Pin, High-Performance Microcontrollers with LCD Driver and nanoWatt XLP Technology
PIC18F87K90 FAMILY
REGISTER 17-2: RTCCAL: RTCC CALIBRATION REGISTER
R/W-0
CAL7
bit 7
R/W-0
CAL6
R/W-0
CAL5
R/W-0
CAL4
R/W-0
CAL3
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 17-3: PADCFG1: PAD CONFIGURATION REGISTER
R/W-0
R/W-0
R/W-0
U-0
RDPU
REPU
RJPU(2)
—
bit 7
U-0
R/W-0
R/W-0
—
RTSECSEL1(1) RTSECSEL0(1)
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 4-3
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
Unimplemented: Read as ‘0’
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 in 80-pin parts.
DS39957B-page 218
Preliminary
 2010 Microchip Technology Inc.