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

PIC16F630-I/ST 参数 Datasheet PDF下载

PIC16F630-I/ST图片预览
型号: PIC16F630-I/ST
PDF下载: 下载PDF文件 查看货源
内容描述: 14引脚基于闪存的8位CMOS微控制器 [14-Pin FLASH-Based 8-Bit CMOS Microcontrollers]
分类和应用: 闪存微控制器和处理器外围集成电路光电二极管PC时钟
文件页数/大小: 130 页 / 1924 K
品牌: MICROCHIP [ MICROCHIP ]
 浏览型号PIC16F630-I/ST的Datasheet PDF文件第48页浏览型号PIC16F630-I/ST的Datasheet PDF文件第49页浏览型号PIC16F630-I/ST的Datasheet PDF文件第50页浏览型号PIC16F630-I/ST的Datasheet PDF文件第51页浏览型号PIC16F630-I/ST的Datasheet PDF文件第53页浏览型号PIC16F630-I/ST的Datasheet PDF文件第54页浏览型号PIC16F630-I/ST的Datasheet PDF文件第55页浏览型号PIC16F630-I/ST的Datasheet PDF文件第56页  
PIC16F630/676  
of the read or write operation. The inability to clear the  
WR bit in software prevents the accidental, premature  
termination of a write operation.  
8.1  
EEADR  
The EEADR register can address up to a maximum of  
128 bytes of data EEPROM. Only seven of the eight  
bits in the register (EEADR<6:0>) are required. The  
MSb (bit 7) is ignored.  
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  
operation. In these situations, following RESET, the  
user can check the WRERR bit, clear it, and rewrite  
the location. The data and address will be cleared,  
therefore, the EEDATA and EEADR registers will  
need to be re-initialized.  
The upper bit should always be ‘0’ to remain upward  
compatible with devices that have more data EEPROM  
memory.  
8.2  
EECON1 AND EECON2  
REGISTERS  
Interrupt flag bit EEIF in the PIR1 register is set when  
write is complete. This bit must be cleared in software.  
EECON1 is the control register with four low order bits  
physically implemented. The upper four bits are non-  
implemented and read as '0's.  
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.  
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  
REGISTER 8-3:  
EECON1 — EEPROM CONTROL REGISTER (ADDRESS: 9Ch)  
U-0  
U-0  
U-0  
U-0  
R/W-x  
R/W-0  
WREN  
R/S-0  
WR  
R/S-0  
RD  
WRERR  
bit 7  
bit 0  
bit 7-4  
bit 3  
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 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  
Legend:  
S = Bit can only be set  
R = Readable bit  
W = Writable bit  
’1’ = Bit is set  
U = Unimplemented bit, read as ‘0’  
’0’ = Bit is cleared x = Bit is unknown  
- n = Value at POR  
DS40039E-page 50  
© 2007 Microchip Technology Inc.  
 复制成功!