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

89C5115-TISUM 参数 Datasheet PDF下载

89C5115-TISUM图片预览
型号: 89C5115-TISUM
PDF下载: 下载PDF文件 查看货源
内容描述: [Microcontroller, 8-Bit, FLASH, 40MHz, CMOS, PDSO28, SOIC-28]
分类和应用: 时钟ATM异步传输模式微控制器光电二极管外围集成电路
文件页数/大小: 113 页 / 730 K
品牌: ATMEL [ ATMEL ]
 浏览型号89C5115-TISUM的Datasheet PDF文件第3页浏览型号89C5115-TISUM的Datasheet PDF文件第4页浏览型号89C5115-TISUM的Datasheet PDF文件第5页浏览型号89C5115-TISUM的Datasheet PDF文件第6页浏览型号89C5115-TISUM的Datasheet PDF文件第8页浏览型号89C5115-TISUM的Datasheet PDF文件第9页浏览型号89C5115-TISUM的Datasheet PDF文件第10页浏览型号89C5115-TISUM的Datasheet PDF文件第11页  
AT89C5115  
I/O Configurations  
Port Structure  
Each Port SFR operates via type-D latches, as illustrated in Figure 1 for Ports 3 and 4. A  
CPU ’write to latch’ signal initiates transfer of internal bus data into the type-D latch. A  
CPU ’read latch’ signal transfers the latched Q output onto the internal bus. Similarly, a  
’read pin’ signal transfers the logical level of the Port pin. Some Port data instructions  
activate the ’read latch’ signal while others activate the ’read pin’ signal. Latch instruc-  
tions are referred to as Read-Modify-Write instructions. Each I/O line may be  
independently programmed as input or output.  
Figure 1 shows the structure of Ports, which have internal pull-ups. An external source  
can pull the pin low. Each Port pin can be configured either for general-purpose I/O or  
for its alternate input output function.  
To use a pin for general-purpose output, set or clear the corresponding bit in the Px reg-  
ister (x = 1 to 4). To use a pin for general-purpose input, set the bit in the Px register.  
This turns off the output FET drive.  
To configure a pin for its alternate function, set the bit in the Px register. When the latch  
is set, the ’alternate output function’ signal controls the output level (See Figure 1). The  
operation of Ports is discussed further in ’Quasi-Bi-directional Port Operation’  
paragraph.  
Figure 1. Ports Structure  
VCC  
ALTERNATE  
INTERNAL  
PULL-UP (1)  
OUTPUT  
FUNCTION  
READ  
LATCH  
P1.x(1)  
P2.x  
INTERNAL  
BUS  
P3.x  
P4.x  
D
Q
LATCH  
CL  
WRITE  
TO  
LATCH  
READ  
PIN  
ALTERNATE  
INPUT  
FUNCTION  
Note:  
1. The internal pull-up can be disabled on P1 when analog function is selected.  
7
4128F–8051–05/06  
 
 
 复制成功!