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

SM59R05A5C25 参数 Datasheet PDF下载

SM59R05A5C25图片预览
型号: SM59R05A5C25
PDF下载: 下载PDF文件 查看货源
内容描述: SM59R16A5 / SM59R09A5 / SM59R05A5\n8位微控制器\n64KB / 36KB / 20KB具有ISP功能的Flash\n和2KB RAM的嵌入式 [SM59R16A5/SM59R09A5/SM59R05A5 8-Bit Micro-controller 64KB/36KB/20KB with ISP Flash & 2KB RAM embedded]
分类和应用: 微控制器
文件页数/大小: 89 页 / 3025 K
品牌: SYNCMOS [ SYNCMOS TECHNOLOGIES,INC ]
 浏览型号SM59R05A5C25的Datasheet PDF文件第26页浏览型号SM59R05A5C25的Datasheet PDF文件第27页浏览型号SM59R05A5C25的Datasheet PDF文件第28页浏览型号SM59R05A5C25的Datasheet PDF文件第29页浏览型号SM59R05A5C25的Datasheet PDF文件第31页浏览型号SM59R05A5C25的Datasheet PDF文件第32页浏览型号SM59R05A5C25的Datasheet PDF文件第33页浏览型号SM59R05A5C25的Datasheet PDF文件第34页  
SM59R16A5/SM59R09A5/SM59R05A5
8-Bit Micro-controller
64KB/36KB/20KB with ISP Flash
& 2KB RAM embedded
5. GPIO
The SM59R16A5 has six I/O ports: Port 0, Port 1, Port 2, Port 3, Port 4, and Port 5. Ports 0, 1, 2, 3, 4 are 8-bit ports and
Port 5 is a 6-bit port. These are: quasi-bidirectional (standard 8051 port outputs), push-pull, open drain, and input-only.
Two configuration registers for each port select the output type for each port pin. All I/O port pins on the SM59R16A5 may
be configured by software to one of four types on a pin-by-pin basis, shown as below:
Mnemonic
P0M0
P0M1
P1M0
P1M1
P2M0
P2M1
P3M0
P3M1
P4M0
P4M1
P5M0
P5M1
Description
Port 0 output mode 0
Port 0 output mode 1
Port 1 output mode 0
Port 1 output mode 1
Port 2 output mode 0
Port 2 output mode 1
Port 3 output mode 0
Port 3 output mode 1
Port 4 output mode 0
Port 4 output mode 1
Port 5 output mode 0
Port 5 output mode 1
PxM1.y
0
0
1
1
PxM0.y
0
1
0
1
Direct
D2h
D3h
D4h
D5h
D6h
D7h
DAh
DBh
DCh
DDh
DEh
DFh
Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2
I/O port function register
P0M0 [7:0]
P0M1[7:0]
P1M0[7:0]
P1M1[7:0]
P2M0[7:0]
P2M1[7:0]
P3M0[7:0]
P3M1[7:0]
P4M0[7:0]
P4M1[7:0]
-
P5M0[5:0]
-
P5M1[5:0]
Bit 1
Bit 0
RESET
00H
00H
00H
00H
00H
00H
00H
00H
00H
00H
00H
00H
Port output mode
Quasi-bidirectional (standard 8051 port outputs) (pull-up)
Push-pull
Input only (high-impedance)
Open drain
The OCI_SCL、ALE、OCI_SDA and RESET can be define as P4.4、P4.5、P4.6 and P4.7 by writer or ISP。
The XTAL2 and XTAL1 can define as P5.4 and P5.5 by writer or ISP,when user use internal OSC as system clock and
not use the RTC function.
For general-purpose applications, every pin can be assigned to either high or low independently as given below:
Mnemonic
Port 5
Port 4
Port 3
Port 2
Port 1
Port 0
Description
Port 5
Port 4
Port 3
Port 2
Port 1
Port 0
Direct
D8h
E8h
B0h
A0h
90h
80h
Bit 7
-
P4.7
P3.7
P2.7
P1.7
P0.7
5
P0.5
Bit 6
-
P4.6
P3.6
P2.6
P1.6
P0.6
4
P0.4
Bit 5
Ports
P5.5
P4.5
P3.5
P2.5
P1.5
P0.5
3
P0.3
Bit 4
P5.4
P4.4
P3.4
P2.4
P1.4
P0.4
2
P0.2
Bit 3
P5.3
P4.3
P3.3
P2.3
P1.3
P0.3
1
P0.1
Bit 2
P5.2
P4.2
P3.2
P2.2
P1.2
P0.2
Bit 1
P5.1
P4.1
P3.1
P2.1
P1.1
P0.1
Bit 0
P5.0
P4.0
P3.0
P2.0
P1.0
P0.0
RESET
0Fh
FFh
FFh
FFh
FFh
FFh
Mnemonic: P0
7
6
P0.7
P0.6
Address: 80h
0
Reset
P0.0
FFh
P0.7~ 0: Port0 [7] ~ Port0 [0]
Specifications subject to change without notice contact your sales representatives for the most recent information.
ISSFD-M047
30
Ver.G SM59R16A5 01/2014