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

PIC18LF6620-I/PT 参数 Datasheet PDF下载

PIC18LF6620-I/PT图片预览
型号: PIC18LF6620-I/PT
PDF下载: 下载PDF文件 查看货源
内容描述: 八十〇分之六十四引脚高性能1 Mbit的增强型闪存微控制器与A / D [64/80-Pin High Performance 1 Mbit Enhanced FLASH Microcontrollers with A/D]
分类和应用: 闪存微控制器和处理器外围集成电路PC时钟
文件页数/大小: 366 页 / 6797 K
品牌: MICROCHIP [ MICROCHIP ]
 浏览型号PIC18LF6620-I/PT的Datasheet PDF文件第126页浏览型号PIC18LF6620-I/PT的Datasheet PDF文件第127页浏览型号PIC18LF6620-I/PT的Datasheet PDF文件第128页浏览型号PIC18LF6620-I/PT的Datasheet PDF文件第129页浏览型号PIC18LF6620-I/PT的Datasheet PDF文件第131页浏览型号PIC18LF6620-I/PT的Datasheet PDF文件第132页浏览型号PIC18LF6620-I/PT的Datasheet PDF文件第133页浏览型号PIC18LF6620-I/PT的Datasheet PDF文件第134页  
PIC18FXX20  
FIGURE 10-23:  
PORTD AND PORTE  
BLOCK DIAGRAM  
(PARALLEL SLAVE  
PORT)  
10.10 Parallel Slave Port  
PORTD also operates as an 8-bit wide Parallel Slave  
Port, or microprocessor port, when control bit  
PSPMODE (PSPCON<4>) is set. It is asynchronously  
readable and writable by the external world through RD  
control input pin, RE0/RD/AD8 and WR control input  
pin, RE1/WR/AD9.  
Data Bus  
D
Q
RDx  
Pin  
WR LATD  
Note: For PIC18F8X20 devices, the Parallel  
Slave Port is available only in  
Microcontroller mode.  
CK  
Data Latch  
or  
PORTD  
TTL  
Q
D
The PSP can directly interface to an 8-bit micro-  
processor data bus. The external microprocessor can  
read or write the PORTD latch as an 8-bit latch. Setting  
bit PSPMODE enables port pin RE0/RD/AD8 to be the  
RD input, RE1/WR/AD9 to be the WR input and  
RE2/CS/AD10 to be the CS (chip select) input. For this  
functionality, the corresponding data direction bits of  
the TRISE register (TRISE<2:0>) must be configured  
as inputs (set). The A/D port configuration bits  
PCFG2:PCFG0 (ADCON1<2:0>) must be set, which  
will configure pins RE2:RE0 as digital I/O.  
RD PORTD  
EN  
TRIS Latch  
RD LATD  
One bit of PORTD  
Set Interrupt Flag  
PSPIF (PIR1<7>)  
A write to the PSP occurs when both the CS and WR  
lines are first detected low. A read from the PSP occurs  
when both the CS and RD lines are first detected low.  
The PORTE I/O pins become control inputs for the  
microprocessor  
port  
when  
bit  
PSPMODE  
(PSPCON<4>) is set. In this mode, the user must make  
sure that the TRISE<2:0> bits are set (pins are config-  
ured as digital inputs), and the ADCON1 is configured  
for digital I/O. In this mode, the input buffers are TTL.  
Read  
RD  
CS  
TTL  
Chip Select  
TTL  
Write  
WR  
TTL  
Note: I/O pin has protection diodes to VDD and VSS.  
DS39609A-page 128  
Advance Information  
2003 Microchip Technology Inc.  
 复制成功!