Datasheet

2012 Microchip Technology Inc. DS30509A-page 7
PIC18F66K80 FAMILY
2.0 SPECIAL FEATURES OF THE
CPU
2.1 Device ID Registers
The Device ID registers are read-only registers. They
identify the device type and revision for device
programmers and can be read by firmware using table
reads.
TABLE 2-1: DEVICE IDs
Note: For additional details on the Configuration bits,
refer to Section 28.1 “Configuration Bits” in
the “PIC18F66K80 Family Data Sheet”
(DS39977). Device ID information presented in
this section is for the high-temperature
PIC18F66K80 family devices only.
File Name Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0
Default/
Unprogrammed
Value
3FFFFEh DEVID1
(1)
DEV2 DEV1 DEV0 REV4 REV3 REV2 REV1 REV0 xxxx xxxx
3FFFFFh DEVID2
(1)
DEV10 DEV9 DEV8 DEV7 DEV6 DEV5 DEV4 DEV3 xxxx xxxx
Legend: x = unknown; u = unchanged,;— = unimplemented.
Note 1: See Register 2-1 and Register 2-2 for DEVIDx values. DEVIDx registers are read-only and cannot be
programmed by the user.
REGISTER 2-1: DEVID1: DEVICE ID REGISTER 1
RRRRRRRR
DEV2
(1)
DEV1
(1)
DEV0
(1)
REV4 REV3 REV2 REV1 REV0
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-5 DEV<2:0>: Device ID bits
(1)
111 = PIC18F66K80
100 = PIC18F25K80
011 = PIC18F45K80
010 = PIC18F65K80
001 = PIC18F26K80
000 = PIC18F46K80
bit 4-0 REV<4:0>: Revision ID bits
These bits are used to indicate the device revision.
Note 1: These DEV<2:0> values may be shared with other devices. The specific device is always identified by
using the entire DEV<10:0> bit sequence.