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

PIC16F777-I/PT 参数 Datasheet PDF下载

PIC16F777-I/PT图片预览
型号: PIC16F777-I/PT
PDF下载: 下载PDF文件 查看货源
内容描述: 28 /40/ 44引脚, 8位CMOS闪存微控制器与10位A / D和纳瓦技术 [28/40/44-Pin, 8-Bit CMOS Flash Microcontrollers with 10-Bit A/D and nanoWatt Technology]
分类和应用: 闪存微控制器
文件页数/大小: 276 页 / 4898 K
品牌: MICROCHIP [ MICROCHIP ]
 浏览型号PIC16F777-I/PT的Datasheet PDF文件第66页浏览型号PIC16F777-I/PT的Datasheet PDF文件第67页浏览型号PIC16F777-I/PT的Datasheet PDF文件第68页浏览型号PIC16F777-I/PT的Datasheet PDF文件第69页浏览型号PIC16F777-I/PT的Datasheet PDF文件第71页浏览型号PIC16F777-I/PT的Datasheet PDF文件第72页浏览型号PIC16F777-I/PT的Datasheet PDF文件第73页浏览型号PIC16F777-I/PT的Datasheet PDF文件第74页  
PIC16F7X7  
FIGURE 5-19:  
PORTE BLOCK DIAGRAM  
(IN I/O PORT MODE)  
5.5  
PORTE and TRISE Register  
This section is not applicable to the PIC16F737 or  
PIC16F767.  
Data Bus  
WR Port  
D
Q
PORTE has four pins, RE0/RD/AN5, RE1/WR/AN6,  
RE2/CS/AN7 and MCLR/VPP/RE3, which are individu-  
ally configureable as inputs or outputs. These pins have  
Schmitt Trigger input buffers. RE3 is only available as an  
input if MCLRE is ‘0’ in Configuration Word 1.  
I/O pin(1)  
CK  
Data Latch  
D
Q
I/O PORTE becomes control inputs for the micro-  
processor port when bit, PSPMODE (TRISE<4>), is  
set. In this mode, the user must make sure that the  
TRISE<2:0> bits are set (pins are configured as digital  
inputs). Ensure ADCON1 is configured for digital I/O. In  
this mode, the input buffers are TTL.  
Schmitt  
Trigger  
Input  
WR TRIS  
RD TRIS  
CK  
TRIS Latch  
Buffer  
Register 5-1 shows the TRISE register which also  
controls the Parallel Slave Port operation.  
Q
D
PORTE pins are multiplexed with analog inputs. When  
selected as an analog input, these pins will read as ‘0’s.  
EN  
RD Port  
TRISE controls the direction of the RE pins, even when  
they are being used as analog inputs. The user must  
make sure to keep the pins configured as inputs when  
using them as analog inputs.  
Note 1: I/O pins have protection diodes to VDD and VSS.  
Note:  
On a Power-on Reset, these pins are  
configured as analog inputs and read as ‘0’.  
TABLE 5-9:  
PORTE FUNCTIONS  
Name  
Bit# Buffer Type  
Function  
(1)  
RE0/RD/AN5  
RE1/WR/AN6  
RE2/CS/AN7  
bit 0  
bit 1  
bit 2  
ST/TTL  
ST/TTL  
ST/TTL  
ST  
Input/output port pin or read control input in Parallel Slave Port mode or analog input.  
For RD (PSP mode):  
1= Idle  
0= Read operation. Contents of PORTD register output to PORTD I/O pins (if chip selected).  
(1)  
(1)  
Input/output port pin or write control input in Parallel Slave Port mode or analog input.  
For WR (PSP mode):  
1= Idle  
0= Write operation. Value of PORTD I/O pins latched into PORTD register (if chip selected).  
Input/output port pin or chip select control input in Parallel Slave Port mode or analog input.  
For CS (PSP mode):  
1= Device is not selected  
0= Device is selected  
MCLR/VPP/RE3 bit 3  
Legend:  
Input, Master Clear (Reset) or programming input voltage.  
ST = Schmitt Trigger input, TTL = TTL input  
Note 1: Input buffers are Schmitt Triggers when in I/O mode and TTL buffers when in Parallel Slave Port mode.  
TABLE 5-10: SUMMARY OF REGISTERS ASSOCIATED WITH PORTE  
Value on  
all other  
Resets  
Value on:  
POR, BOR  
Addr  
Name  
Bit 7  
Bit 6  
Bit 5  
Bit 4  
Bit 3  
Bit 2  
Bit 1  
Bit 0  
09h  
89h  
9Fh  
PORTE  
TRISE  
RE3  
RE2  
RE1  
RE0  
---- x000  
0000 1111  
0000 0000  
---- x000  
0000 1111  
0000 0000  
(1)  
IBF  
OBF  
IBOV PSPMODE  
VCFG0  
PORTE Data Direction bits  
ADCON1 ADFM ADCS2 VCFG1  
PCFG3 PCFG2 PCFG1 PCFG0  
Legend:  
x= unknown, u= unchanged, — = unimplemented, read as ‘0’. Shaded cells are not used by PORTE.  
Note 1: RE3 is an input only. The state of the TRISE3 bit has no effect and will always read ‘1’.  
DS30498C-page 68  
2004 Microchip Technology Inc.  
 复制成功!