16F876 Microchip Technology, 16F876 Datasheet - Page 42

no-image

16F876

Manufacturer Part Number
16F876
Description
28/40-pin 8-Bit CMOS FLASH Microcontrollers
Manufacturer
Microchip Technology
Datasheet
PIC16F87X
REGISTER 4-1: EECON1 REGISTER (ADDRESS 18Ch)
DS30292B-page 42
bit 7:
bit 6:4: Unimplemented: Read as '0'
bit 3:
bit 2:
bit 1:
bit 0:
EEPGD
R/W-x
bit7
EEPGD: Program / Data EEPROM Select bit
1 = Accesses Program memory
0 = Accesses data memory
(This bit cannot be changed while a read or write operation is in progress)
WRERR: EEPROM Error Flag bit
1 = A write operation is prematurely terminated
(any MCLR reset or any WDT reset during normal operation)
0 = The write operation completed
WREN: EEPROM Write Enable bit
1 = Allows write cycles
0 = Inhibits write to the 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 EEPROM is complete
RD: Read Control bit
1 = Initiates an EEPROM read RD is cleared in hardware. The RD bit can only be set (not cleared) in
software.
0 = Does not initiate an EEPROM read
U-0
U-0
U-0
WRERR
R/W-x
WREN
R/W-0
R/S-0
WR
R/S-0
bit0
RD
R = Readable bit
W = Writable bit
U = Unimplemented bit,
- n= Value at POR reset
1999 Microchip Technology Inc.
read as ‘0’

Related parts for 16F876