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

SM59A16U1U48VP 参数 Datasheet PDF下载

SM59A16U1U48VP图片预览
型号: SM59A16U1U48VP
PDF下载: 下载PDF文件 查看货源
内容描述: SM59A16U1 8位微控制器 64KB具有ISP闪存 & 6K + 256B RAM嵌入式 [SM59A16U1 8-Bit Micro-controller 64KB with ISP Flash & 6K+256B RAM embedded]
分类和应用: 闪存微控制器
文件页数/大小: 146 页 / 4372 K
品牌: SYNCMOS [ SYNCMOS TECHNOLOGIES,INC ]
 浏览型号SM59A16U1U48VP的Datasheet PDF文件第33页浏览型号SM59A16U1U48VP的Datasheet PDF文件第34页浏览型号SM59A16U1U48VP的Datasheet PDF文件第35页浏览型号SM59A16U1U48VP的Datasheet PDF文件第36页浏览型号SM59A16U1U48VP的Datasheet PDF文件第38页浏览型号SM59A16U1U48VP的Datasheet PDF文件第39页浏览型号SM59A16U1U48VP的Datasheet PDF文件第40页浏览型号SM59A16U1U48VP的Datasheet PDF文件第41页  
SM59A16U1  
8-Bit Micro-controller  
64KB with ISP Flash  
& 6K+256B RAM embedded  
4.10  
Interface Control Register( IFCON )  
Mnemonic: IFCON  
Address: 8Fh  
7
-
6
5
4
3
2
1
0
Reset  
00H  
CDPR  
F32K  
F16K  
-
EMEN  
ISPE  
CDPR: code protect (Read Only)  
F32K: flash size is 32KB+4KB (Read Only)  
F16K: flash size is 16KB+4KB (Read Only)  
EMEN: Internal 6K SRAM enable.(default is enable)  
EMEN = 0, Enable internal 6K RAM and external 58K RAM.  
EMEN = 1, Disable internal 6K RAM, Enable external 64K RAM.  
ISPE: ISP function enable bit  
ISPE = 1, enable ISP function  
ISPE = 0, disable ISP function  
4.11  
Page Select( PAGESEL )  
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 or USB 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; // Write data 0x80h to PWMEN.  
SFR Method 2 (Page Mode): This method provides two SFR page to set the registers.  
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  
Page_mode  
00H  
Page_num: This flag is used only in the SFR method 2.  
Specifications subject to change without notice contact your sales representatives for the most recent information.  
ISSFD-M071 Ver A SM59A16U1 04/12/2013  
- 37 -  
 复制成功!