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

PIC16C72A-04/SP 参数 Datasheet PDF下载

PIC16C72A-04/SP图片预览
型号: PIC16C72A-04/SP
PDF下载: 下载PDF文件 查看货源
内容描述: 28引脚8位CMOS微控制器 [28-Pin 8-Bit CMOS Microcontrollers]
分类和应用: 微控制器
文件页数/大小: 120 页 / 1994 K
品牌: MICROCHIP [ MICROCHIP ]
 浏览型号PIC16C72A-04/SP的Datasheet PDF文件第19页浏览型号PIC16C72A-04/SP的Datasheet PDF文件第20页浏览型号PIC16C72A-04/SP的Datasheet PDF文件第21页浏览型号PIC16C72A-04/SP的Datasheet PDF文件第22页浏览型号PIC16C72A-04/SP的Datasheet PDF文件第24页浏览型号PIC16C72A-04/SP的Datasheet PDF文件第25页浏览型号PIC16C72A-04/SP的Datasheet PDF文件第26页浏览型号PIC16C72A-04/SP的Datasheet PDF文件第27页  
PIC16C62B/72A  
3.3  
PORTC and the TRISC Register  
PORTC is an 8-bit wide bi-directional port. The corre-  
sponding data direction register is TRISC. Setting a  
TRISC bit (=1) will make the corresponding PORTC pin  
an input, (i.e., put the corresponding output driver in a  
hi-impedance mode). Clearing a TRISC bit (=0) will  
make the corresponding PORTC pin an output, (i.e.,  
put the contents of the output latch on the selected pin).  
PORTC is multiplexed with several peripheral functions  
(Table 3-5). PORTC pins have Schmitt Trigger input  
buffers.  
When enabling peripheral functions, care should be  
taken in defining TRIS bits for each PORTC pin. Some  
peripherals override the TRIS bit to make a pin an out-  
put, while other peripherals override the TRIS bit to  
make a pin an input. Since the TRIS bit override maybe  
in effect while the peripheral is enabled, read-modify-  
write instructions (BSF, BCF, XORWF) with TRISC as  
destination should be avoided. The user should refer to  
the corresponding peripheral section for the correct  
TRIS bit settings.  
FIGURE 3-5: PORTC BLOCK DIAGRAM  
(PERIPHERAL OUTPUT  
OVERRIDE)  
PORT/PERIPHERAL Select(2)  
Peripheral Data Out  
VDD  
0
Data Bus  
D
Q
Q
P
WR  
PORT  
1
CK  
Data Latch  
I/O  
D
Q
Q
pin(1)  
WR  
TRIS  
CK  
N
TRIS Latch  
VSS  
Schmitt  
Trigger  
RD TRIS  
Peripheral  
OE(3)  
Q
D
EN  
RD  
PORT  
Peripheral input  
Note 1: I/O pins have diode protection to VDD and VSS.  
2: Port/Peripheral select signal selects between port  
data and peripheral output.  
3: Peripheral OE (output enable) is only activated if  
peripheral select is active.  
1999 Microchip Technology Inc.  
Preliminary  
DS35008B-page 23