欢迎访问ic37.com |
会员登录 免费注册
发布采购

PIC16F627-04I/SO 参数 Datasheet PDF下载

PIC16F627-04I/SO图片预览
型号: PIC16F627-04I/SO
PDF下载: 下载PDF文件 查看货源
内容描述: 基于闪存的8位CMOS微控制器 [FLASH-Based 8-Bit CMOS Microcontrollers]
分类和应用: 闪存微控制器和处理器外围集成电路光电二极管PC时钟
文件页数/大小: 160 页 / 1657 K
品牌: MICROCHIP [ MICROCHIP ]
 浏览型号PIC16F627-04I/SO的Datasheet PDF文件第88页浏览型号PIC16F627-04I/SO的Datasheet PDF文件第89页浏览型号PIC16F627-04I/SO的Datasheet PDF文件第90页浏览型号PIC16F627-04I/SO的Datasheet PDF文件第91页浏览型号PIC16F627-04I/SO的Datasheet PDF文件第93页浏览型号PIC16F627-04I/SO的Datasheet PDF文件第94页浏览型号PIC16F627-04I/SO的Datasheet PDF文件第95页浏览型号PIC16F627-04I/SO的Datasheet PDF文件第96页  
PIC16F62X  
The WREN bit, when set, will allow a write operation.  
On power-up, the WREN bit is clear. The WRERR bit  
is set when a write operation is interrupted by a MCLR  
reset or a WDT time-out reset during normal opera-  
tion. In these situations, following reset, the user can  
check the WRERR bit and rewrite the location. The  
data and address will be unchanged in the EEDATA  
and EEADR registers.  
13.2  
EECON1 AND EECON2 REGISTERS  
EECON1 is the control register with five low order bits  
physically implemented. The upper-three bits are non-  
existent and read as ’0’s.  
Control bits RD and WR initiate read and write,  
respectively. These bits cannot be cleared, only set, in  
software. They are cleared in hardware at completion  
of the read or write operation. The inability to clear the  
WR bit in software prevents the accidental, premature  
termination of a write operation.  
Interrupt flag bit EEIF in the PIR1 register is set when  
write is complete. This bit must be cleared in software.  
EECON2 is not a physical register. Reading EECON2  
will read all ’0’s. The EECON2 register is used  
exclusively in the Data EEPROM write sequence.  
REGISTER 13-2: EECON1 REGISTER (ADDRESS 9Ch) DEVICES  
U
U
U
U
R/W-x  
R/W-0  
R/S-0  
R/S-x  
RD  
WRERR  
WREN  
WR  
R = Readable bit  
W = Writable bit  
S = Settable bit  
bit7  
bit0  
U = Unimplemented bit,  
read as ‘0’  
-n = Value at POR reset  
bit 7:4 Unimplemented: Read as '0'  
bit 3  
WRERR: EEPROM Error Flag bit  
1= A write operation is prematurely terminated  
(any MCLR reset, any WDT reset during normal operation or BOD detect)  
0= The write operation completed  
bit 2  
bit 1  
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  
bit 0  
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  
DS40300B-page 92  
Preliminary  
1999 Microchip Technology Inc.