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

SM39A16M1U32 参数 Datasheet PDF下载

SM39A16M1U32图片预览
型号: SM39A16M1U32
PDF下载: 下载PDF文件 查看货源
内容描述: SM39A16M1\n8位微控制器\n16KB具有ISP功能的Flash\n& 1K + 256B RAM的嵌入式 [SM39A16M1 8-Bit Micro-controller 16KB with ISP Flash & 1K+256B RAM embedded]
分类和应用: 微控制器
文件页数/大小: 106 页 / 1520 K
品牌: SYNCMOS [ SYNCMOS TECHNOLOGIES,INC ]
 浏览型号SM39A16M1U32的Datasheet PDF文件第24页浏览型号SM39A16M1U32的Datasheet PDF文件第25页浏览型号SM39A16M1U32的Datasheet PDF文件第26页浏览型号SM39A16M1U32的Datasheet PDF文件第27页浏览型号SM39A16M1U32的Datasheet PDF文件第29页浏览型号SM39A16M1U32的Datasheet PDF文件第30页浏览型号SM39A16M1U32的Datasheet PDF文件第31页浏览型号SM39A16M1U32的Datasheet PDF文件第32页  
SM39A16M1  
8-Bit Micro-controller  
16KB with ISP Flash  
& 1K+256B RAM embedded  
4.8 Interface control register  
Mnemonic: IFCON  
Address: 8Fh  
7
6
5
4
3
2
1
0
Reset  
00H  
-
CDPR  
-
-
-
-
-
ISPE  
CDPR: Code protect (Read Only)  
ISPE: ISP function enable bit  
ISPE = 1, enable ISP function  
ISPE = 0, disable ISP function  
4.9 PAGESEL (Page Select)  
The SM59A16U1 provide two different methods to set Special Function Register (SFR) are as follow:  
SFR Method 1 (Indirect Mode): This method is only an SFR page. If you want to use  
PWM registers of the Method 2, can be used indirectly addressable setting.  
Example: Write a data 0x80h to PWMEN Register in Method 1.  
PAGESEL = 0x0h;  
// Method 1.  
PWMADDR = 0xF5h;  
// PWMEN indirect address: 0xF5h (Indirect mode)  
// (Refer Page1 Table of the Method 2)  
PWMDATA = 0x80h;  
SFR Method 2 (Page Mode): This method provides two SFR page to set the registers.  
// Write data 0x80h to PWMEN.  
Example: Write a data 0x80h to PWMEN Register in Method 2, Page 1.  
PAGESEL = 0x3h;  
PWMEN = 0x80h;  
// Method 2, Page 1 (Page mode)  
// Write data 0x80h to PWMEN.  
SFR Page Mode Table:  
Page_mode  
Page_num  
SFR Select  
SFR Method 1  
0
0
1
1
0
1
0
1
SFR Method 1  
SFR Method 2, Page 0  
SFR Method 2, Page 1  
Mnemonic: PAGESEL  
Address: BEh  
7
6
5
4
3
2
1
0
Reset  
Page num Pagemode  
00H  
Page_num: This flag is used only in the SFR method 2  
0 = page 0 mode  
1 = page 1 mode.  
Page_mode: This flag is used to select SFR register table.  
Specifications subject to change without notice contact your sales representatives for the most recent information.  
ISSFD-M069 Ver C SM39A16M1 7/31/2013  
- 28 -  
 复制成功!