Datasheet
PIC12(L)F1840
DS41441B-page 46 Preliminary 2011 Microchip Technology Inc.
4.5 Device ID and Revision ID
The memory location 8006h is where the Device ID and
Revision ID are stored. The upper nine bits hold the
Device ID. The lower five bits hold the Revision ID. See
Section 11.5 “User ID, Device ID and Configuration
Word Access” for more information on accessing
these memory locations.
Development tools, such as device programmers and
debuggers, may be used to read the Device ID and
Revision ID.
REGISTER 4-3: DEVICEID: DEVICE ID REGISTER
(1)
RRRRRRR
DEV8 DEV7 DEV6 DEV5 DEV4 DEV3 DEV2
bit 13 bit 7
RRRRRRR
DEV1 DEV0 REV4 REV3 REV2 REV1 REV0
bit 6 bit 0
Legend: U = Unimplemented bit, read as ‘0’
R = Readable bit W = Writable bit ‘0’ = Bit is cleared
-n = Value at POR ‘1’ = Bit is set x = Bit is unknown
bit 13-5 DEV<8:0>: Device ID bits
011011100 = PIC12F1840
011011110 = PIC12LF1840
bit 4-0 REV<4:0>: Revision ID bits
These bits are used to identify the revision.
Note 1: This location cannot be written.