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

SN8P26042A 参数 Datasheet PDF下载

SN8P26042A图片预览
型号: SN8P26042A
PDF下载: 下载PDF文件 查看货源
内容描述: 8位微控制器 [8-Bit Micro-Controller]
分类和应用: 微控制器
文件页数/大小: 101 页 / 733 K
品牌: SONIX [ SONIX TECHNOLOGY COMPANY ]
 浏览型号SN8P26042A的Datasheet PDF文件第64页浏览型号SN8P26042A的Datasheet PDF文件第65页浏览型号SN8P26042A的Datasheet PDF文件第66页浏览型号SN8P26042A的Datasheet PDF文件第67页浏览型号SN8P26042A的Datasheet PDF文件第69页浏览型号SN8P26042A的Datasheet PDF文件第70页浏览型号SN8P26042A的Datasheet PDF文件第71页浏览型号SN8P26042A的Datasheet PDF文件第72页  
SN8P2604A  
8-Bit Micro-Controller  
7
I/O PORT  
7.1 I/O PORT MODE  
The port direction is programmed by PnM register. All I/O ports can select input or output direction.  
0B8H  
P0M  
Read/Write  
After reset  
Bit 7  
Bit 6  
Bit 5  
Bit 4  
Bit 3  
Bit 2  
Bit 1  
Bit 0  
P00M  
R/W  
0
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
P01M  
R/W  
0
0C1H  
P1M  
Read/Write  
After reset  
Bit 7  
P17M  
R/W  
0
Bit 6  
P16M  
R/W  
0
Bit 5  
P15M  
R/W  
0
Bit 4  
P14M  
R/W  
0
Bit 3  
P13M  
R/W  
0
Bit 2  
P12M  
R/W  
0
Bit 1  
P12M  
R/W  
0
Bit 0  
P10M  
R/W  
0
0C2H  
P2M  
Read/Write  
After reset  
Bit 7  
P27M  
R/W  
0
Bit 6  
P26M  
R/W  
0
Bit 5  
P25M  
R/W  
0
Bit 4  
P24M  
R/W  
0
Bit 3  
P23M  
R/W  
0
Bit 2  
P22M  
R/W  
0
Bit 1  
P22M  
R/W  
0
Bit 0  
P20M  
R/W  
0
0C5H  
P5M  
Read/Write  
After reset  
Bit 7  
Bit 6  
Bit 5  
Bit 4  
P54M  
R/W  
0
Bit 3  
P53M  
R/W  
0
Bit 2  
P52M  
R/W  
0
Bit 1  
P51M  
R/W  
0
Bit 0  
P50M  
R/W  
0
-
-
-
-
-
-
-
-
-
Bit[7:0]  
PnM[7:0]: Pn mode control bits. (n = 0~5).  
0 = Pn is input mode.  
1 = Pn is output mode.  
’
¾
Note:  
1. Users can program them by bit control instructions (B0BSET, B0BCLR).  
2. P0.2 is input only pin, and the P0M.2 keeps “1”.  
Example: I/O mode selecting  
CLR  
CLR  
CLR  
CLR  
P0M  
P2M  
P1M  
P5M  
; Set all ports to be input mode.  
; Set all ports to be output mode.  
MOV  
A, #0FFH  
P0M, A  
P1M, A  
P2M, A  
P5M, A  
B0MOV  
B0MOV  
B0MOV  
B0MOV  
B0BCLR  
B0BSET  
P1M.2  
P1M.2  
; Set P1.2 to be input mode.  
; Set P1.2 to be output mode.  
SONiX TECHNOLOGY CO., LTD  
Page 68  
Version 0.3  
 复制成功!