English
Language : 

PIC16F628-20P Datasheet, PDF (90/170 Pages) Microchip Technology – FLASH-Based 8-Bit CMOS Microcontroller
PIC16F62X
REGISTER 13-2:
EECON1 REGISTER (ADDRESS: 9Ch)
U-0
U-0
U-0
U-0
—
—
—
—
bit 7
R/W-x
WRERR
R/W-0
WREN
R/S-0
WR
R/S-x
RD
bit 0
bit 7-4
bit 3
bit 2
bit 1
bit 0
Unimplemented: Read as '0'
WRERR: EEPROM Error Flag bit
1 = A write operation is prematurely terminated (any MCLR Reset, any WDT Reset during
normal operation or BOD Reset)
0 = The write operation completed
WREN: EEPROM Write Enable bit
1 = Allows write cycles
0 = Inhibits write to the data EEPROM
WR: Write Control bit
1 = Initiates a write cycle. (The bit is cleared by hardware once write is complete. The WR bit
can only be set (not cleared) in software.
0 = Write cycle to the data EEPROM is complete
RD: Read Control bit
1 = Initiates an EEPROM read (read takes one cycle. RD is cleared in hardware. The RD bit
can only be set (not cleared) in software).
0 = Does not initiate an EEPROM read
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
DS40300C-page 88
Preliminary
 2003 Microchip Technology Inc.