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

C8051F502-IM 参数 Datasheet PDF下载

C8051F502-IM图片预览
型号: C8051F502-IM
PDF下载: 下载PDF文件 查看货源
内容描述: 混合信号ISP功能的Flash MCU系列 [Mixed Signal ISP Flash MCU Family]
分类和应用: 微控制器和处理器外围集成电路PC时钟
文件页数/大小: 312 页 / 2813 K
品牌: SILICON [ SILICON ]
 浏览型号C8051F502-IM的Datasheet PDF文件第234页浏览型号C8051F502-IM的Datasheet PDF文件第235页浏览型号C8051F502-IM的Datasheet PDF文件第236页浏览型号C8051F502-IM的Datasheet PDF文件第237页浏览型号C8051F502-IM的Datasheet PDF文件第239页浏览型号C8051F502-IM的Datasheet PDF文件第240页浏览型号C8051F502-IM的Datasheet PDF文件第241页浏览型号C8051F502-IM的Datasheet PDF文件第242页  
C8051F50x-F51x  
23.5.2. Read Sequence (Master)  
During a read sequence, an SMBus master reads data from a slave device. The master in this transfer will  
be a transmitter during the address byte, and a receiver during all data bytes. The SMBus interface gener-  
ates the START condition and transmits the first byte containing the address of the target slave and the  
data direction 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. An interrupt is generated after each received byte.  
Software must write the ACK bit at that time to ACK or NACK the received byte. Writing a 1 to the ACK bit  
generates an ACK; writing a 0 generates a NACK. Software should write a 0 to the ACK bit for the last data  
transfer, to transmit a NACK. The interface exits Master Receiver Mode after the STO bit is set and a  
STOP is generated. The interface will switch to Master Transmitter Mode if SMB0DAT is written while an  
active Master Receiver. Figure 23.6 shows a typical master read 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
DataByte  
Interrupts  
A
DataByte  
N
P
S = START  
P = STOP  
A = ACK  
Received by SMBus  
Interface  
N = NACK  
R = READ  
SLA = Slave Address  
Transmitted by  
SMBus Interface  
Figure 23.6. Typical Master Read Sequence  
238  
Rev. 1.1  
 复制成功!