PIC16F684-I/SLG Microchip, PIC16F684-I/SLG Datasheet - Page 73

no-image

PIC16F684-I/SLG

Manufacturer Part Number
PIC16F684-I/SLG
Description
pic, flash, Microcontrollers, Microprocessors, Semiconductors and Actives, ic, mcu
Manufacturer
Microchip
Datasheet
10.0
The EEPROM data memory is readable and writable
during normal operation (full V
is not directly mapped in the register file space.
Instead, it is indirectly addressed through the Special
Function Registers. There are four SFRs used to read
and write this memory:
• EECON1
• EECON2 (not a physically implemented register)
• EEDAT
• EEADR
EEDAT holds the 8-bit data for read/write, and EEADR
holds the address of the EEPROM location being
accessed. PIC16F684 has 256 bytes of data EEPROM
with an address range from 0h to FFh.
REGISTER 10-1:
REGISTER 10-2:
 2004 Microchip Technology Inc.
DATA EEPROM MEMORY
bit 7-0
bit 7-0
EEDAT – EEPROM DATA REGISTER (ADDRESS: 9Ah)
bit 7
EEDATn: Byte Value to Write to or Read From Data EEPROM bits
Legend:
R = Readable bit
-n = Value at POR
bit 7
EEADR: Specifies One of 256 Locations for EEPROM Read/Write Operation bits
Legend:
R = Readable bit
-n = Value at POR
EEADR7
EEDAT7
EEADR – EEPROM ADDRESS REGISTER (ADDRESS: 9Bh)
R/W-0
R/W-0
DD
range). This memory
EEADR6
EEDAT6
R/W-0
R/W-0
EEADR5
EEDAT5
R/W-0
R/W-0
Preliminary
W = Writable bit
‘1’ = Bit is set
W = Writable bit
‘1’ = Bit is set
EEADR4
EEDAT4
R/W-0
R/W-0
The EEPROM data memory allows byte read and write.
A byte write automatically erases the location and
writes the new data (erase before write). The EEPROM
data memory is rated for high erase/write cycles. The
write time is controlled by an on-chip timer. The write
time will vary with voltage and temperature as well as
from chip-to-chip. Please refer to AC Specifications in
Section 15.0 “Electrical Specifications” for exact
limits.
When the data memory is code-protected, the CPU
may continue to read and write the data EEPROM
memory. The device programmer can no longer access
the data EEPROM data and will read zeroes.
Additional information on the data EEPROM is
available in the “PICmicro
Reference Manual” (DS33023).
EEADR3
EEDAT3
U = Unimplemented bit, read as ‘0’
‘0’ = Bit is cleared
U = Unimplemented bit, read as ‘0’
‘0’ = Bit is cleared
R/W-0
R/W-0
EEADR2 EEADR1 EEADR0
EEDAT2 EEDAT1
R/W-0
R/W-0
PIC16F684
®
Mid-Range MCU Family
x = Bit is unknown
x = Bit is unknown
R/W-0
R/W-0
DS41202C-page 71
EEDAT0
R/W-0
R/W-0
bit 0
bit 0

Related parts for PIC16F684-I/SLG