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

C8051F818-GU 参数 Datasheet PDF下载

C8051F818-GU图片预览
型号: C8051F818-GU
PDF下载: 下载PDF文件 查看货源
内容描述: 混合信号ISP功能的Flash MCU系列 [Mixed Signal ISP Flash MCU Family]
分类和应用:
文件页数/大小: 250 页 / 1303 K
品牌: SILICON [ SILICON ]
 浏览型号C8051F818-GU的Datasheet PDF文件第191页浏览型号C8051F818-GU的Datasheet PDF文件第192页浏览型号C8051F818-GU的Datasheet PDF文件第193页浏览型号C8051F818-GU的Datasheet PDF文件第194页浏览型号C8051F818-GU的Datasheet PDF文件第196页浏览型号C8051F818-GU的Datasheet PDF文件第197页浏览型号C8051F818-GU的Datasheet PDF文件第198页浏览型号C8051F818-GU的Datasheet PDF文件第199页  
C8051F80x-83x  
26.5.3. Write Sequence (Slave)  
During a write sequence, an SMBus master writes data to a slave device. The slave in this transfer will be  
a receiver during the address byte, and a receiver during all data bytes. When slave events are enabled  
(INH = 0), the interface enters Slave Receiver Mode when a START followed by a slave address and direc-  
tion bit (WRITE in this case) is received. If hardware ACK generation is disabled, upon entering Slave  
Receiver Mode, an interrupt is generated and the ACKRQ bit is set. The software must respond to the  
received slave address with an ACK, or ignore the received slave address with a NACK. If hardware ACK  
generation is enabled, the hardware will apply the ACK for a slave address which matches the criteria set  
up by SMB0ADR and SMB0ADM. The interrupt will occur after the ACK cycle.  
If the received slave address is ignored (by software or hardware), slave interrupts will be inhibited until the  
next START is detected. If the received slave address is acknowledged, zero or more data bytes are  
received.  
If hardware ACK generation is disabled, the ACKRQ is set to 1 and an interrupt is generated after each  
received byte. Software must write the ACK bit at that time to ACK or NACK the received byte.  
With hardware ACK generation enabled, the SMBus hardware will automatically generate the ACK/NACK,  
and then post the interrupt. It is important to note that the appropriate ACK or NACK value should be  
set up by the software prior to receiving the byte when hardware ACK generation is enabled.  
The interface exits Slave Receiver Mode after receiving a STOP. Note that the interface will switch to Slave  
Transmitter Mode if SMB0DAT is written while an active Slave Receiver. Figure 26.7 shows a typical slave  
write sequence. Two received data bytes are shown, though any number of bytes may be received. Notice  
that the “data byte transferred” interrupts occur at different places in the sequence, depending on whether  
hardware ACK generation is enabled. The interrupt occurs before the ACK with hardware ACK generation  
disabled, and after the ACK when hardware ACK generation is enabled.  
Interrupts with Hardware ACK Enabled (EHACK = 1)  
S
SLA  
W
A
Data Byte  
A
Data Byte  
A
P
Interrupts with Hardware ACK Disabled (EHACK = 0)  
S = START  
P = STOP  
A = ACK  
Received by SMBus  
Interface  
W = WRITE  
SLA = Slave Address  
Transmitted by  
SMBus Interface  
Figure 26.7. Typical Slave Write Sequence  
Rev. 1.0  
195