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

MC908MR32CFUE 参数 Datasheet PDF下载

MC908MR32CFUE图片预览
型号: MC908MR32CFUE
PDF下载: 下载PDF文件 查看货源
内容描述: [MC908MR32CFUE ]
分类和应用:
文件页数/大小: 308 页 / 4411 K
品牌: FREESCALE [ Freescale ]
 浏览型号MC908MR32CFUE的Datasheet PDF文件第113页浏览型号MC908MR32CFUE的Datasheet PDF文件第114页浏览型号MC908MR32CFUE的Datasheet PDF文件第115页浏览型号MC908MR32CFUE的Datasheet PDF文件第116页浏览型号MC908MR32CFUE的Datasheet PDF文件第118页浏览型号MC908MR32CFUE的Datasheet PDF文件第119页浏览型号MC908MR32CFUE的Datasheet PDF文件第120页浏览型号MC908MR32CFUE的Datasheet PDF文件第121页  
Input/Output (I/O) Ports (PORTS)  
Port C  
10.4 Port C  
Port C is a 7-bit, general-purpose, bidirectional I/O port that shares two of its pins  
with the analog-to-digital convertor module (ADC).  
10.4.1 Port C Data Register  
The port C data register (PTC) contains a data latch for each of the seven port C  
pins.  
Address:  
$0002  
Bit 7  
0
6
5
4
3
2
1
Bit 0  
Read:  
Write:  
Reset:  
PTC6  
PTC5  
PTC4  
PTC3  
PTC2  
PTC1  
PTC0  
R
Unaffected by reset  
R
= Reserved  
Figure 10-8. Port C Data Register (PTC)  
PTC[6:0] — Port C Data Bits  
These read/write bits are software-programmable. Data direction of each port C  
pin is under the control of the corresponding bit in data direction register C.  
Reset has no effect on port C data.  
10.4.2 Data Direction Register C  
Data direction register C (DDRC) determines whether each port C pin is an input  
or an output. Writing a logic 1 to a DDRC bit enables the output buffer for the  
corresponding port C pin; a logic 0 disables the output buffer.  
Address:  
$0006  
Bit 7  
0
6
5
DDRC5  
0
4
DDRC4  
0
3
DDRC3  
0
2
DDRC2  
0
1
DDRC1  
0
Bit 0  
DDRC0  
0
Read:  
Write:  
Reset:  
DDRC6  
R
0
0
R
= Reserved  
Figure 10-9. Data Direction Register C (DDRC)  
DDRC[6:0] — Data Direction Register C Bits  
These read/write bits control port C data direction. Reset clears DDRC[6:0],  
configuring all port C pins as inputs.  
1 = Corresponding port C pin configured as output  
0 = Corresponding port C pin configured as input  
MC68HC908MR32 • MC68HC908MR16 — Rev. 6.0  
MOTOROLA Input/Output (I/O) Ports (PORTS)  
Data Sheet  
117  
 复制成功!