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

MC9S12P64CFT 参数 Datasheet PDF下载

MC9S12P64CFT图片预览
型号: MC9S12P64CFT
PDF下载: 下载PDF文件 查看货源
内容描述: 微控制器 [Microcontrollers]
分类和应用: 微控制器外围集成电路时钟
文件页数/大小: 566 页 / 7414 K
品牌: FREESCALE [ Freescale ]
 浏览型号MC9S12P64CFT的Datasheet PDF文件第97页浏览型号MC9S12P64CFT的Datasheet PDF文件第98页浏览型号MC9S12P64CFT的Datasheet PDF文件第99页浏览型号MC9S12P64CFT的Datasheet PDF文件第100页浏览型号MC9S12P64CFT的Datasheet PDF文件第102页浏览型号MC9S12P64CFT的Datasheet PDF文件第103页浏览型号MC9S12P64CFT的Datasheet PDF文件第104页浏览型号MC9S12P64CFT的Datasheet PDF文件第105页  
Port Integration Module (S12PPIMV1)  
For example selecting a pull-up device: This device does not become active while the port is used as a  
push-pull output.  
(1)  
Table 2-59. Register availability per port  
Data  
Direction  
Reduced  
Drive  
Pull  
Enable  
Polarity  
Select  
Wired-  
Or Mode  
Interrupt Interrupt  
Port  
Data  
Input  
Routing  
Enable  
Flag  
A
B
yes  
yes  
yes  
yes  
yes  
yes  
yes  
yes  
yes  
-
yes  
yes  
yes  
yes  
yes  
yes  
yes  
yes  
yes  
yes  
yes  
-
-
-
-
-
-
-
-
-
-
-
E
-
-
-
-
-
-
T
yes  
yes  
yes  
yes  
yes  
-
yes  
yes  
yes  
yes  
yes  
yes  
yes  
yes  
yes  
yes  
yes  
yes  
yes  
yes  
yes  
yes  
yes  
-
-
yes  
yes  
-
-
-
-
-
yes  
S
-
M
P
-
-
yes  
yes  
yes  
-
yes  
yes  
-
-
-
-
J
-
AD  
-
1. Each cell represents one register with individual configuration bits  
2.4.2.1  
Data register (PORTx, PTx)  
This register holds the value driven out to the pin if the pin is used as a general purpose I/O.  
Writing to this register has only an effect on the pin if the pin is used as general purpose output. When  
reading this address, the buffered state of the pin is returned if the associated data direction register bit is  
set to “0”.  
If the data direction register bits are set to logic level “1”, the contents of the data register is returned. This  
is independent of any other configuration (Figure 2-64).  
2.4.2.2  
Input register (PTIx)  
This register is read-only and always returns the buffered state of the pin (Figure 2-64).  
2.4.2.3  
Data direction register (DDRx)  
This register defines whether the pin is used as an general purpose input or an output.  
If a peripheral module controls the pin the contents of the data direction register is ignored (Figure 2-64).  
Independent of the pin usage with a peripheral module this register determines the source of data when  
reading the associated data register address (2.4.2.1/2-101).  
NOTE  
Due to internal synchronization circuits, it can take up to 2 bus clock cycles  
until the correct value is read on port data or port input registers, when  
changing the data direction register.  
S12P-Family Reference Manual, Rev. 1.13  
Freescale Semiconductor  
101  
 复制成功!