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

C8051F336 参数 Datasheet PDF下载

C8051F336图片预览
型号: C8051F336
PDF下载: 下载PDF文件 查看货源
内容描述: 混合信号ISP功能的Flash MCU系列 [Mixed Signal ISP Flash MCU Family]
分类和应用: 微控制器和处理器外围集成电路
文件页数/大小: 234 页 / 3348 K
品牌: SILICON [ SILICON ]
 浏览型号C8051F336的Datasheet PDF文件第145页浏览型号C8051F336的Datasheet PDF文件第146页浏览型号C8051F336的Datasheet PDF文件第147页浏览型号C8051F336的Datasheet PDF文件第148页浏览型号C8051F336的Datasheet PDF文件第150页浏览型号C8051F336的Datasheet PDF文件第151页浏览型号C8051F336的Datasheet PDF文件第152页浏览型号C8051F336的Datasheet PDF文件第153页  
C8051F336/7/8/9  
Interrupts are also generated to indicate the beginning of a transfer when a master (START generated), or  
the end of a transfer when a slave (STOP detected). Software should read the SMB0CN (SMBus Control  
register) to find the cause of the SMBus interrupt. The SMB0CN register is described in Section 21.4.2;  
Table 21.5 provides a quick SMB0CN decoding reference.  
21.4.1. SMBus Configuration Register  
The SMBus Configuration register (SMB0CF) is used to enable the SMBus Master and/or Slave modes,  
select the SMBus clock source, and select the SMBus timing and timeout options. When the ENSMB bit is  
set, the SMBus is enabled for all master and slave events. Slave events may be disabled by setting the  
INH bit. With slave events inhibited, the SMBus interface will still monitor the SCL and SDA pins; however,  
the interface will NACK all received addresses and will not generate any slave interrupts. When the INH bit  
is set, all slave events will be inhibited following the next START (interrupts will continue for the duration of  
the current transfer).  
Table 21.1. SMBus Clock Source Selection  
SMBCS1 SMBCS0  
SMBus Clock Source  
Timer 0 Overflow  
Timer 1 Overflow  
Timer 2 High Byte Overflow  
Timer 2 Low Byte Overflow  
0
0
1
1
0
1
0
1
The SMBCS1–0 bits select the SMBus clock source, which is used only when operating as a master or  
when the Free Timeout detection is enabled. When operating as a master, overflows from the selected  
source determine the absolute minimum SCL low and high times as defined in Equation 21.1. Note that the  
selected clock source may be shared by other peripherals so long as the timer is left running at all times.  
For example, Timer 1 overflows may generate the SMBus and UART baud rates simultaneously. Timer  
configuration is covered in Section “24. Timers” on page 187.  
1
---------------------------------------------  
THighMin = TLowMin  
=
fClockSourceOverflow  
Equation 21.1. Minimum SCL High and Low Times  
The selected clock source should be configured to establish the minimum SCL High and Low times as per  
Equation 21.1. When the interface is operating as a master (and SCL is not driven or extended by any  
other devices on the bus), the typical SMBus bit rate is approximated by Equation 21.2.  
fClockSourceOverflow  
---------------------------------------------  
BitRate =  
3
Equation 21.2. Typical SMBus Bit Rate  
Rev. 0.2  
149