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

SN8A1703AP 参数 Datasheet PDF下载

SN8A1703AP图片预览
型号: SN8A1703AP
PDF下载: 下载PDF文件 查看货源
内容描述: 8位微控制器 [8-Bit Micro-Controller]
分类和应用: 微控制器
文件页数/大小: 112 页 / 624 K
品牌: SONIX [ SONIX TECHNOLOGY COMPANY ]
 浏览型号SN8A1703AP的Datasheet PDF文件第86页浏览型号SN8A1703AP的Datasheet PDF文件第87页浏览型号SN8A1703AP的Datasheet PDF文件第88页浏览型号SN8A1703AP的Datasheet PDF文件第89页浏览型号SN8A1703AP的Datasheet PDF文件第91页浏览型号SN8A1703AP的Datasheet PDF文件第92页浏览型号SN8A1703AP的Datasheet PDF文件第93页浏览型号SN8A1703AP的Datasheet PDF文件第94页  
Preliminary  
SN8P1702A/SN8P1703A  
8-bit micro-controller build-in 12-bit ADC  
I/O PORT MODE  
The port direction is programmed by PnM register. Port 0 is always input mode. Port 1,2,4 and 5 can select input or  
output direction.  
P1M initial value = xxxx xx00  
0C1H  
P1M  
Bit 7  
0
-
Bit 6  
0
-
Bit 5  
0
-
Bit 4  
0
-
Bit 3  
0
-
Bit 2  
0
-
Bit 1  
P11M  
R/W  
Bit 0  
P10M  
R/W  
Bit[1:0]  
P1[1:0]M:P1.0~P1.1 I/O direction control bit.  
0 = input mode  
1 = output mode.  
P4M initial value = xxxx 0000  
0C4H  
P4M  
Bit 7  
0
-
Bit 6  
0
-
Bit 5  
0
-
Bit 4  
0
-
Bit 3  
P43M  
R/W  
Bit 2  
P42M  
R/W  
Bit 1  
P41M  
R/W  
Bit 0  
P40M  
R/W  
Bit[3:0]  
P4[3:0]M:P4.0~P4.3 I/O direction control bit.  
0 = input mode  
1 = output mode.  
P5M initial value = xx00 0000  
0C5H  
P5M  
Bit 7  
0
-
Bit 6  
0
-
Bit 5  
P55M  
R/W  
Bit 4  
P54M  
R/W  
Bit 3  
P53M  
R/W  
Bit 2  
P52M  
R/W  
Bit 1  
P51M  
R/W  
Bit 0  
P50M  
R/W  
Bit[5:0]  
P5[5:0]M: P5.0~P5.5 I/O direction control bit.  
0 = input mode  
1 = output mode.  
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.  
Input mode is with pull-up resistor controlled by setting @SET_UP macro. The output mode disables the pull-up  
resistors no matter pull-up resistors is set or not.  
The PnM registers are read/write bi-direction registers. Users can program them by bit control  
instructions (B0BSET, B0BCLR).  
SONiX TECHNOLOGY CO., LTD  
Page 90  
Revision 0.5  
 复制成功!