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

PIC17C756-08/P 参数 Datasheet PDF下载

PIC17C756-08/P图片预览
型号: PIC17C756-08/P
PDF下载: 下载PDF文件 查看货源
内容描述: 高性能8位CMOS微控制器的EPROM [High-Performance 8-Bit CMOS EPROM Microcontrollers]
分类和应用: 微控制器可编程只读存储器电动程控只读存储器
文件页数/大小: 320 页 / 2172 K
品牌: MICROCHIP [ MICROCHIP ]
 浏览型号PIC17C756-08/P的Datasheet PDF文件第70页浏览型号PIC17C756-08/P的Datasheet PDF文件第71页浏览型号PIC17C756-08/P的Datasheet PDF文件第72页浏览型号PIC17C756-08/P的Datasheet PDF文件第73页浏览型号PIC17C756-08/P的Datasheet PDF文件第75页浏览型号PIC17C756-08/P的Datasheet PDF文件第76页浏览型号PIC17C756-08/P的Datasheet PDF文件第77页浏览型号PIC17C756-08/P的Datasheet PDF文件第78页  
PIC17C75X  
Example 10-4 shows an instruction sequence to initial-  
ize PORTD. The Bank Select Register (BSR) must be  
selected to Bank 1 for the port to be initialized. The fol-  
lowing example uses the MOVLBinstruction to load the  
BSR register for bank selection.  
10.4  
PORTD and DDRD Registers  
PORTD is an 8-bit bi-directional port. The correspond-  
ing data direction register is DDRD. A '1' in DDRD con-  
figures the corresponding port pin as an input. A '0' in  
the DDRD register configures the corresponding port  
pin as an output. Reading PORTD reads the status of  
the pins, whereas writing to it will write to the port latch.  
PORTD is multiplexed with the system bus. When  
operating as the system bus, PORTD is the high order  
byte of the address/data bus (AD15:AD8). The timing  
for the system bus is shown in the Electrical Character-  
istics section.  
EXAMPLE 10-4: INITIALIZING PORTD  
MOVLB  
CLRF  
1
; Select Bank 1  
PORTD ; Initialize PORTD data  
; latches before setting  
; the data direction register  
MOVLW  
MOVWF  
0xCF  
; Value used to initialize  
; data direction  
DDRD ; Set RD<3:0> as inputs  
; RD<5:4> as outputs  
Note: This port is configured as the system bus  
when the device’s configuration bits are  
selected to Microprocessor or Extended  
Microcontroller modes. In the two other  
microcontroller modes, this port is a gen-  
eral purpose I/O.  
; RD<7:6> as inputs  
FIGURE 10-10: BLOCK DIAGRAM OF RD7:RD0 PORT PINS (IN I/O PORT MODE)  
to D_Bus IR  
INSTRUCTION READ  
Data Bus  
TTL  
Input  
Buffer  
RD_PORTD  
WR_PORTD  
Port  
D
D
0
1
Q
Data  
CK  
RD_DDRD  
WR_DDRD  
Q
R
CK  
S
EX_EN  
DATA/ADDR_OUT  
DRV_SYS  
SYS BUS  
Control  
Note: I/O pins have protection diodes to VDD and Vss.  
DS30264A-page 74  
Preliminary  
1997 Microchip Technology Inc.  
 
 复制成功!