Microchip Technology IC MCU 8BIT PIC18F65K22-I/PT TQFP-64 MCP PIC18F65K22-I/PT Data Sheet

Product codes
PIC18F65K22-I/PT
Page of 550
PIC18F87K22 FAMILY
DS39960D-page 230
 2009-2011 Microchip Technology Inc.
 
REGISTER 18-2:
RTCCAL: RTCC CALIBRATION REGISTER
R/W-0
R/W-0
R/W-0
R/W-0
R/W-0
R/W-0
R/W-0
R/W-0
CAL7
CAL6
CAL5
CAL4
CAL3
CAL2
CAL1
CAL0
bit 7
bit 0
Legend:
R = Readable bit
W = Writable bit
U = Unimplemented bit, read as ‘0’
-n = Value at POR
‘1’ = Bit is set
‘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
U-0
R/W-0
R/W-0
U-0
RDPU
REPU
RJPU
)
 
RTSECSEL1
(
RTSECSEL0
bit 7
bit 0
Legend:
R = Readable bit
W = Writable bit
U = Unimplemented bit, read as ‘0’
-n = Value at POR
‘1’ = Bit is set
‘0’ = Bit is cleared
x = Bit is unknown
bit 7
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
bit 6
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
bit 5
RJPU:
 PORTJ Pull-up Enable bit
(
 
1
 = PORTJ pull-up resistors are enabled by individual port latch values
0
 = All PORTJ pull-up resistors are disabled
bit 2-1
RTSECSEL<1:0>:
 RTCC Seconds Clock Output Select bits
 
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
bit 0
Unimplemented:
 Read as ‘0’
Note 1:
To enable the actual RTCC output, the RTCOE (RTCCFG<2>) bit must be set.
2:
Unimplemented on 64-pin devices (PIC18F6XK22), read as ‘0’.