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

C8051F310 参数 Datasheet PDF下载

C8051F310图片预览
型号: C8051F310
PDF下载: 下载PDF文件 查看货源
内容描述: 8/16 KB ISP功能的Flash MCU系列 [8/16 kB ISP Flash MCU Family]
分类和应用: 微控制器和处理器
文件页数/大小: 228 页 / 2504 K
品牌: SILABS [ SILICON LABORATORIES ]
 浏览型号C8051F310的Datasheet PDF文件第154页浏览型号C8051F310的Datasheet PDF文件第155页浏览型号C8051F310的Datasheet PDF文件第156页浏览型号C8051F310的Datasheet PDF文件第157页浏览型号C8051F310的Datasheet PDF文件第159页浏览型号C8051F310的Datasheet PDF文件第160页浏览型号C8051F310的Datasheet PDF文件第161页浏览型号C8051F310的Datasheet PDF文件第162页  
C8051F310/1/2/3/4/5/6/7
14.5.2. Master Receiver Mode
Serial data is received on SDA while the serial clock is output on SCL. The SMBus interface generates the
START condition and transmits the first byte containing the address of the target slave and the data direc-
tion bit. In this case the data direction bit (R/W) will be logic 1 (READ). Serial data is then received from the
slave on SDA while the SMBus outputs the serial clock. The slave transmits one or more bytes of serial
data. After each byte is received, ACKRQ is set to ‘1’ and an interrupt is generated. Software must write
the ACK bit (SMB0CN.1) to define the outgoing acknowledge value (Note: writing a ‘1’ to the ACK bit gen-
erates an ACK; writing a ‘0’ generates a NACK). Software should write a ‘0’ to the ACK bit after the last
byte is received, to transmit a NACK. The interface exits Master Receiver Mode after the STO bit is set and
a STOP is generated. Note that the interface will switch to Master Transmitter Mode if SMB0DAT is written
while an active Master Receiver. Figure 14.6 shows a typical Master Receiver sequence. Two received
data bytes are shown, though any number of bytes may be received. Notice that the ‘data byte transferred’
interrupts occur
before
the ACK cycle in this mode.
S
SLA
R
A
Data Byte
A
Data Byte
N
P
Interrupt
Interrupt
Interrupt
Interrupt
S = START
P = STOP
A = ACK
N = NACK
R = READ
SLA = Slave Address
Received by SMBus
Interface
Transmitted by
SMBus Interface
Figure 14.6. Typical Master Receiver Sequence
158
Rev. 1.7