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

PIC16F877T-20IL 参数 Datasheet PDF下载

PIC16F877T-20IL图片预览
型号: PIC16F877T-20IL
PDF下载: 下载PDF文件 查看货源
内容描述: 8位微控制器\n [8-Bit Microcontroller ]
分类和应用: 微控制器
文件页数/大小: 200 页 / 3338 K
品牌: ETC [ ETC ]
 浏览型号PIC16F877T-20IL的Datasheet PDF文件第31页浏览型号PIC16F877T-20IL的Datasheet PDF文件第32页浏览型号PIC16F877T-20IL的Datasheet PDF文件第33页浏览型号PIC16F877T-20IL的Datasheet PDF文件第34页浏览型号PIC16F877T-20IL的Datasheet PDF文件第36页浏览型号PIC16F877T-20IL的Datasheet PDF文件第37页浏览型号PIC16F877T-20IL的Datasheet PDF文件第38页浏览型号PIC16F877T-20IL的Datasheet PDF文件第39页  
PIC16F87X  
3.4  
PORTD and TRISD Registers  
FIGURE 3-7: PORTD BLOCK DIAGRAM (IN  
I/O PORT MODE)  
This section is not applicable to the PIC16F873 or  
PIC16F876.  
Data  
Bus  
D
Q
PORTD is an 8-bit port with Schmitt Trigger input buff-  
ers. Each pin is individually configurable as an input or  
output.  
WR  
PORT  
I/O pin(1)  
CK  
Data Latch  
PORTD can be configured as an 8-bit wide micropro-  
cessor port (parallel slave port) by setting control bit  
PSPMODE (TRISE<4>). In this mode, the input buffers  
are TTL.  
D
Q
WR  
TRIS  
Schmitt  
Trigger  
Input  
CK  
TRIS Latch  
Buffer  
RD TRIS  
Q
D
EN  
RD PORT  
Note 1: I/O pins have protection diodes to VDD and VSS.  
TABLE 3-7:  
Name  
PORTD FUNCTIONS  
Bit#  
bit0  
bit1  
bit2  
bit3  
bit4  
bit5  
bit6  
bit7  
Buffer Type  
Function  
ST/TTL(1)  
ST/TTL(1)  
ST/TTL(1)  
ST/TTL(1)  
ST/TTL(1)  
ST/TTL(1)  
ST/TTL(1)  
ST/TTL(1)  
RD0/PSP0  
RD1/PSP1  
RD2/PSP2  
RD3/PSP3  
RD4/PSP4  
RD5/PSP5  
RD6/PSP6  
RD7/PSP7  
Input/output port pin or parallel slave port bit0  
Input/output port pin or parallel slave port bit1  
Input/output port pin or parallel slave port bit2  
Input/output port pin or parallel slave port bit3  
Input/output port pin or parallel slave port bit4  
Input/output port pin or parallel slave port bit5  
Input/output port pin or parallel slave port bit6  
Input/output port pin or parallel slave port bit7  
Legend: ST = Schmitt Trigger input TTL = TTL input  
Note 1: Input buffers are Schmitt Triggers when in I/O mode and TTL buffer when in Parallel Slave Port Mode.  
TABLE 3-8:  
SUMMARY OF REGISTERS ASSOCIATED WITH PORTD  
Value on:  
POR,  
BOR  
Value on all  
other resets  
Address  
Name  
Bit 7 Bit 6  
Bit 5  
Bit 4  
Bit 3  
RD3  
Bit 2  
Bit 1  
Bit 0  
08h  
88h  
89h  
PORTD  
TRISD  
TRISE  
RD7  
RD6  
RD5  
RD4  
RD2  
RD1  
RD0  
xxxx xxxx uuuu uuuu  
1111 1111 1111 1111  
0000 -111 0000 -111  
PORTD Data Direction Register  
IBF OBF IBOV PSPMODE  
PORTE Data Direction Bits  
Legend: x= unknown, u= unchanged, -= unimplemented read as ’0’. Shaded cells are not used by PORTD.  
1999 Microchip Technology Inc.  
DS30292B-page 35