English
Language : 

PIC18F86K22-I Datasheet, PDF (233/550 Pages) Microchip Technology – 64/80-Pin, High-Performance, 1-Mbit Enhanced Flash Microcontrollers
PIC18F87K22 FAMILY
REGISTER 18-8: MONTH: MONTH VALUE REGISTER(1)
U-0
U-0
U-0
R/W-x
R/W-x
—
—
—
MTHTEN0 MTHONE3
bit 7
R/W-x
MTHONE2
R/W-x
MTHONE1
R/W-x
MTHONE0
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-5
bit 4
bit 3-0
Unimplemented: Read as ‘0’
MTHTEN0: Binary Coded Decimal Value of Month’s Tens Digit bit
Contains a value of 0 or 1.
MTHONE<3:0>: Binary Coded Decimal Value of Month’s Ones Digit bits
Contains a value from 0 to 9.
Note 1: A write to this register is only allowed when RTCWREN = 1.
REGISTER 18-9: DAY: DAY VALUE REGISTER(1)
U-0
U-0
R/W-x
R/W-x
R/W-x
—
—
DAYTEN1 DAYTEN0 DAYONE3
bit 7
R/W-x
DAYONE2
R/W-x
DAYONE1
R/W-x
DAYONE0
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-6
bit 5-4
bit 3-0
Unimplemented: Read as ‘0’
DAYTEN<1:0>: Binary Coded Decimal value of Day’s Tens Digit bits
Contains a value from 0 to 3.
DAYONE<3:0>: Binary Coded Decimal Value of Day’s Ones Digit bits
Contains a value from 0 to 9.
Note 1: A write to this register is only allowed when RTCWREN = 1.
REGISTER 18-10: WEEKDAY: WEEKDAY VALUE REGISTER(1)
U-0
U-0
U-0
U-0
U-0
R/W-x
—
—
—
—
—
WDAY2
bit 7
R/W-x
WDAY1
R/W-x
WDAY0
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-3
bit 2-0
Unimplemented: Read as ‘0’
WDAY<2:0>: Binary Coded Decimal Value of Weekday Digit bits
Contains a value from 0 to 6.
Note 1: A write to this register is only allowed when RTCWREN = 1.
 2009-2011 Microchip Technology Inc.
DS39960D-page 233