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

W78E365A40DL 参数 Datasheet PDF下载

W78E365A40DL图片预览
型号: W78E365A40DL
PDF下载: 下载PDF文件 查看货源
内容描述: 8位微控制器 [8-BIT MICROCONTROLLER]
分类和应用: 微控制器和处理器外围集成电路光电二极管时钟
文件页数/大小: 43 页 / 420 K
品牌: WINBOND [ WINBOND ]
 浏览型号W78E365A40DL的Datasheet PDF文件第10页浏览型号W78E365A40DL的Datasheet PDF文件第11页浏览型号W78E365A40DL的Datasheet PDF文件第12页浏览型号W78E365A40DL的Datasheet PDF文件第13页浏览型号W78E365A40DL的Datasheet PDF文件第15页浏览型号W78E365A40DL的Datasheet PDF文件第16页浏览型号W78E365A40DL的Datasheet PDF文件第17页浏览型号W78E365A40DL的Datasheet PDF文件第18页  
W78E365/W78E365A  
P4 (D8H)  
BIT  
7
NAME  
P47  
P46  
P45  
P44  
P43  
P42  
P41  
P40  
FUNCTION  
I/O pin  
I/O pin.  
I/O pin.  
I/O pin.  
6
5
4
3
Port 4 Data bit which outputs to pin P4.3 at mode 0.  
Port 4 Data bit. which outputs to pin P4.2 at mode 0.  
Port 4 Data bit. which outputs to pin P4.1at mode 0.  
Port 4 Data bit which outputs to pin P4.0 at mode 0.  
2
1
0
Here is an example to program the P4.0 as a write strobe signal at the I/O port address 1234H −  
1237H and positive polarity, and P4.1 P4.3 are used as general I/O ports.  
MOV P40AH, #12H  
MOV P40AL, #34H  
; Base I/O address 1234H for P4.0  
MOV P4CONA, #00001010B  
MOV P4CONB, #00H  
MOV P2ECON, #10H  
; P4.0 a write strobe signal and address line A0 and A1 are masked.  
; P4.1 P4.3 as general I/O port which are the same as PORT1  
; Write the P40SINV = 1 to inverse the P4.0 write strobe polarity  
; default is negative.  
Then any instruction MOVX @DPTR, A (with DPTR = 1234H 1237H) will generate the positive  
polarity write strobe signal at pin P4.0. And the instruction MOV P4, #XX will output the bit3 to bit1 of  
data #XX to pin P4.3 P4.1.  
P4xCSINV  
P4 REGISTER  
DATA I/O  
RD_CS  
P4.x  
MUX 4->1  
WR_CS  
READ  
WRITE  
RD/WR_CS  
PIN  
P4.x  
ADDRESS BUS  
P4xFUN0  
P4xFUN1  
EQUAL  
REGISTER  
P4xAL  
P4xAH  
Bit Length  
P4.x INPUT DATA BUS  
Selectable  
comparator  
REGISTER  
P4xCMP0  
P4xCMP1  
- 14 -  
 复制成功!