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

C8051F336 参数 Datasheet PDF下载

C8051F336图片预览
型号: C8051F336
PDF下载: 下载PDF文件 查看货源
内容描述: 混合信号ISP功能的Flash MCU系列 [Mixed Signal ISP Flash MCU Family]
分类和应用: 微控制器和处理器外围集成电路
文件页数/大小: 234 页 / 3348 K
品牌: SILABS [ SILICON LABORATORIES ]
 浏览型号C8051F336的Datasheet PDF文件第154页浏览型号C8051F336的Datasheet PDF文件第155页浏览型号C8051F336的Datasheet PDF文件第156页浏览型号C8051F336的Datasheet PDF文件第157页浏览型号C8051F336的Datasheet PDF文件第159页浏览型号C8051F336的Datasheet PDF文件第160页浏览型号C8051F336的Datasheet PDF文件第161页浏览型号C8051F336的Datasheet PDF文件第162页  
C8051F336/7/8/9
21.5. SMBus Transfer Modes
The SMBus interface may be configured to operate as master and/or slave. At any particular time, it will be
operating in one of the following four modes: Master Transmitter, Master Receiver, Slave Transmitter, or
Slave Receiver. The SMBus interface enters Master Mode any time a START is generated, and remains in
Master Mode until it loses an arbitration or generates a STOP. An SMBus interrupt is generated at the end
of all SMBus byte frames. Note that the position of the ACK interrupt when operating as a receiver
depends on whether hardware ACK generation is enabled. As a receiver, the interrupt for an ACK occurs
before
the ACK with hardware ACK generation disabled, and
after
the ACK when hardware ACK genera-
tion is enabled. As a transmitter, interrupts occur
after
the ACK, regardless of whether hardware ACK gen-
eration is enabled or not.
21.5.1. Write Sequence (Master)
During a write sequence, an SMBus master writes data to a slave device. The master in this transfer will be
a transmitter during the address byte, and a transmitter 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 0 (WRITE). The master then trans-
mits one or more bytes of serial data. After each byte is transmitted, an acknowledge bit is generated by
the slave. The transfer is ended when the STO bit is set and a STOP is generated. Note that the interface
will switch to Master Receiver Mode if SMB0DAT is not written following a Master Transmitter interrupt.
ber of bytes may be transmitted. Notice that all of the ‘data byte transferred’ interrupts occur
after
the ACK
cycle in this mode, regardless of whether 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)
Received by SMBus
Interface
Transmitted by
SMBus Interface
S = START
P = STOP
A = ACK
W = WRITE
SLA = Slave Address
Figure 21.5. Typical Master Write Sequence
158
Rev. 0.2