English
Language : 

PIC16F1847_13 Datasheet, PDF (116/440 Pages) Microchip Technology – 18/20/28-Pin Flash Microcontrollers with XLP Technology
PIC16(L)F1847
REGISTER 11-6: EECON2: EEPROM CONTROL 2 REGISTER
W-0/0
bit 7
W-0/0
W-0/0
W-0/0
W-0/0
EEPROM Control Register 2
W-0/0
W-0/0
W-0/0
bit 0
Legend:
R = Readable bit
S = Bit can only be set
‘1’ = Bit is set
W = Writable bit
x = Bit is unknown
‘0’ = Bit is cleared
U = Unimplemented bit, read as ‘0’
-n/n = Value at POR and BOR/Value at all other Resets
bit 7-0
Data EEPROM Unlock Pattern bits
To unlock writes, a 55h must be written first, followed by an AAh, before setting the WR bit of the
EECON1 register. The value written to this register is used to unlock the writes. There are specific
timing requirements on these writes. Refer to Section 11.2.2 “Writing to the Data EEPROM
Memory” for more information.
TABLE 11-3: SUMMARY OF REGISTERS ASSOCIATED WITH DATA EEPROM
Name
Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
EECON1 EEPGD
CFGS
LWLO
FREE
WRERR WREN
WR
EECON2 EEPROM Control Register 2 (not a physical register)
EEADRL
EEADRH
EEDATL
—(1)
EEADRL<7:0>
EEADRH<6:0>
EEDATL<7:0>
EEDATH
—
INTCON
GIE
—
PEIE
TMR0IE
INTE
EEDATH<5:0>
IOCE
TMR0IF
INTF
PIE2
OSFIE
C2IE
C1IE
EEIE
BCL1IE
—
—
PIR2
OSFIF
C2IF
C1IF
EEIF
BCL1IF
—
—
Legend:
*
Note 1:
— = unimplemented read as ‘0’. Shaded cells are not used by data EEPROM module.
Page provides register information.
Unimplemented, read as ‘1’.
Bit 0
RD
IOCF
CCP2IE
CCP2IF
Register on
Page
115
116
114
114
114
114
88
90
94
DS40001453D-page 116
Preliminary
 2011-2013 Microchip Technology Inc.