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

SN8P1604AK 参数 Datasheet PDF下载

SN8P1604AK图片预览
型号: SN8P1604AK
PDF下载: 下载PDF文件 查看货源
内容描述: 8位微控制器 [8-Bit Micro-Controller]
分类和应用: 微控制器
文件页数/大小: 94 页 / 531 K
品牌: SONIX [ SONIX TECHNOLOGY COMPANY ]
 浏览型号SN8P1604AK的Datasheet PDF文件第69页浏览型号SN8P1604AK的Datasheet PDF文件第70页浏览型号SN8P1604AK的Datasheet PDF文件第71页浏览型号SN8P1604AK的Datasheet PDF文件第72页浏览型号SN8P1604AK的Datasheet PDF文件第74页浏览型号SN8P1604AK的Datasheet PDF文件第75页浏览型号SN8P1604AK的Datasheet PDF文件第76页浏览型号SN8P1604AK的Datasheet PDF文件第77页  
SN8P1600  
8-bit micro-controller  
I/O PORT MODE  
The port direction is programmed by PnM register. Port 0 is always input mode. Port 1 and Port 2 can select input or  
output direction. The each bit of PnM is set to “0”, the I/O pin is input mode. The each bit of PnM is set to “1”, the I/O  
pin is output mode.  
SN8P1602/1603  
0C1H  
P1M  
Bit 7  
Bit 6  
0
-
Bit 5  
0
-
Bit 4  
P14M  
R/W  
0
Bit 3  
P13M  
R/W  
0
Bit 2  
P12M  
R/W  
0
Bit 1  
P11M  
R/W  
0
Bit 0  
P10M  
R/W  
0
0
-
-
Read/Write  
After reset  
-
-
SN8P1604  
0C1H  
P1M  
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  
P11M  
R/W  
0
Bit 0  
P10M  
R/W  
0
Read/Write  
After reset  
SN8P1602/1603/1604  
0C2H  
P2M  
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  
P21M  
R/W  
0
Bit 0  
P20M  
R/W  
0
Read/Write  
After reset  
SN8P1604  
0C5H  
P5M  
Bit 7  
0
-
Bit 6  
0
-
Bit 5  
0
-
Bit 4  
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
Read/Write  
After reset  
-
-
-
-
The PnM registers are read/write bi-direction registers. Users can program them by bit control  
instructions (B0BSET, B0BCLR).  
Example: I/O mode selecting.  
CLR  
CLR  
P1M  
P2M  
; Set all ports to be input mode.  
; Set all ports to be output mode.  
MOV  
B0MOV  
B0MOV  
A, #0FFH  
P1M, A  
P2M, A  
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 73  
Revision 1.94  
 复制成功!