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

SM39R08A5U10MP 参数 Datasheet PDF下载

SM39R08A5U10MP图片预览
型号: SM39R08A5U10MP
PDF下载: 下载PDF文件 查看货源
内容描述: SM39R08A5\n8位微控制器\n具有8KB闪存\n和256B RAM的嵌入式 [SM39R08A5 8-Bit Micro-controller with 8KB Flash & 256B RAM embedded]
分类和应用: 闪存微控制器
文件页数/大小: 56 页 / 2316 K
品牌: SYNCMOS [ SYNCMOS TECHNOLOGIES,INC ]
 浏览型号SM39R08A5U10MP的Datasheet PDF文件第38页浏览型号SM39R08A5U10MP的Datasheet PDF文件第39页浏览型号SM39R08A5U10MP的Datasheet PDF文件第40页浏览型号SM39R08A5U10MP的Datasheet PDF文件第41页浏览型号SM39R08A5U10MP的Datasheet PDF文件第43页浏览型号SM39R08A5U10MP的Datasheet PDF文件第44页浏览型号SM39R08A5U10MP的Datasheet PDF文件第45页浏览型号SM39R08A5U10MP的Datasheet PDF文件第46页  
SM39R08A5
8-Bit Micro-controller
with 8KB Flash
& 256B RAM embedded
12. IIC function
The IIC module uses the SCL (clock) and the SDA (data) line to communicate with external IIC interface. Its speed can be
selected to 400Kbps (maximum) by software setting the IICBR [2:0] control bit. The IIC module provided 2 interrupts
(RXIF, TXIF). It will generate START, repeated START and STOP signals automatically in master mode and can detects
START, repeated START and STOP signals in slave mode. The maximum communication length and the number of
devices that can be connected are limited by a maximum bus capacitance of 400pF.
The interrupt vector is 6Bh.
Mnemonic
IICCTL
IICS
IICA1
IICA2
IICRWD
IICEBT
Description
IIC control
register
IIC status
register
IIC Address 1
register
IIC Address 2
register
IIC Read/Write
register
IIC Enaable Bus
Transaction
Direct
F9h
F8h
FAh
FBh
FCh
FDh
Bit 7
IICEN
-
Bit 6 Bit 5 Bit 4
IIC function
MSS
MPIF
MAS AB_EN
LAIF
RXIF
IICA1[7:1]
IICA2[7:1]
Bit 3
BF_EN
TXIF
Bit 2
Bit 1
IICBR[2:0]
Bit 0
RESET
04H
00H
A0H
60H
00H
RXAK
TXAK
RW,BB
MATCH1or
RW1
MATCH2 or
RW2
IICRWD[7:0]
FU_EN
-
00H
Mnemonic: IICCTL
7
6
5
IICEN
MSS
MAS
4
AB_EN
3
BF_EN
2
1
IICBR[2:0]
Address: F9h
0
Reset
04h
IICEN: Enable IIC module
IICEN = 1 is Enable
IICEN = 0 is Disable.
MSS: Master or slave mode select.
MSS = 1 is master mode.
MSS = 0 is slave mode.
*The software must set this bit before setting others register.
MAS: Master address select (master mode only)
MAS = 0 is to use IICA1.
MAS = 1 is to use IICA2.
AB_EN: Arbitration lost enable bit. (Master mode only)
If set AB_EN bit, the hardware will check arbitration lost. Once arbitration lost occurred,
hardware will return to IDLE state. If this bit is cleared, hardware will not care arbitration lost
condition. Set this bit when multi-master and slave connection. Clear this bit when single master
to single slave.
BF_EN: Bus busy enable bit. (Master mode only)
If set BF_EN bit, hardware will not generate a start condition to bus until BF=0. Clear this bit will
always generate a start condition to bus when MStart is set. Set this bit when multi-master and
slave connection. Clear this bit when single master to single slave.
Specifications subject to change without notice contact your sales representatives for the most recent information.
ISSFD-M067
Ver B SM39R08A5 04/22/2013
- 42 -