English
Language : 

PIC16F526 Datasheet, PDF (25/122 Pages) Microchip Technology – 14-Pin, 8-Bit Flash Microcontroller
PIC16F526
REGISTER 5-3:
U-0
—
bit 7
EECON: FLASH CONTROL REGISTER
U-0
U-0
R/W-0
R/W-0
—
—
FREE
WRERR
R/W-0
WREN
R/W-0
WR
R/W-0
RD
bit 0
Legend:
S = Bit can only be set
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
bit 2
bit 1
bit 0
Unimplemented: Read as ‘0’.
FREE: Flash Data Memory Row Erase Enable Bit
1 = Program memory row being pointed to by EEADR will be erased on the next write cycle. No write
will be performed. This bit is cleared at the completion of the erase operation.
0 = Perform write only
WRERR: Write Error Flag bit
1 = A write operation terminated prematurely (by device Reset)
0 = Write operation completed successfully
WREN: Write Enable bit
1 = Allows write cycle to Flash data memory
0 = Inhibits write cycle to Flash data memory
WR: Write Control bit
1 = Initiate a erase or write cycle
0 = Write/Erase cycle is complete
RD: Read Control bit
1 = Initiate a read of Flash data memory
0 = Do not read Flash data memory
5.4 Code Protection
Code protection does not prevent the CPU from
performing read or write operations on the Flash data
memory. Refer to the code protection chapter for more
information.
 2010 Microchip Technology Inc.
DS41326D-page 25