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

MPD789871 参数 Datasheet PDF下载

MPD789871图片预览
型号: MPD789871
PDF下载: 下载PDF文件 查看货源
内容描述: 8位单芯片微控制器 [8-Bit Single-Chip Microcontrollers]
分类和应用: 微控制器
文件页数/大小: 321 页 / 1339 K
品牌: NEC [ NEC ]
 浏览型号MPD789871的Datasheet PDF文件第79页浏览型号MPD789871的Datasheet PDF文件第80页浏览型号MPD789871的Datasheet PDF文件第81页浏览型号MPD789871的Datasheet PDF文件第82页浏览型号MPD789871的Datasheet PDF文件第84页浏览型号MPD789871的Datasheet PDF文件第85页浏览型号MPD789871的Datasheet PDF文件第86页浏览型号MPD789871的Datasheet PDF文件第87页  
CHAPTER 4 PORT FUNCTIONS  
4.2.3 Port 2  
This is a 7-bit I/O port with an output latch. Port 2 can be specified in the input or output mode in 1-bit units by  
using port mode register 2 (PM2). When using the P20 to P26 pins as input port pins, on-chip pull-up resistors can  
be connected in 1-bit units by using pull-up resistor option register B2 (PUB2).  
The port is also used as the serial interface I/O, buzzer output, and timer output.  
This port is set in the input mode when the RESET signal is input.  
Figures 4-5 to 4-10 show block diagrams of port 2.  
Caution When using the pins of port 2 as the serial interface, the I/O or output latch must be set  
according to the function to be used. For how to set the latches, see Figure 12-2 Settings of  
Serial Interface 20 Operating Mode.  
Figure 4-5. Block Diagram of P20  
V
DD  
WRPUB2  
PUB20  
P-ch  
RD  
WRPORT  
Output latch  
(P20)  
P20  
WRPM  
PM20  
PUB2: Pull-up resistor option register B2  
PM:  
RD:  
WR:  
Port mode register  
Port 2 read signal  
Port 2 write signal  
User’s Manual U15075EJ1V0UM00  
83  
 复制成功!