Inter-Integrated Circuit Peripherals
UG0331 User Guide Revision 15.0 547
7. For more information on I
2
C usage, the sample projects are available and can be generated, as
shown in the following figure.
Figure 236 • I
2
C Sample Project
Note: The MSS I2C does not support full behavioral simulation models. Refer to SmartFusion2 MSS BFM
Simulation User Guide for more information.
SMBus control
functions
MSS_I2C_smbus_init() Initializes SMBus timeouts and status logics
MSS_I2C_suspend_smbus_slave() Forces slave devices into power-down or
suspend mode
MSS_I2C_set_smbus_alert() Used to force master communication by an I
2
C
slave device
MSS_I2C_enable_smbus_irq() Enables interrupt related to SMBus which can be
either SMBSUS or SMBALERT interrupt
MSS_I2C_disable_smbus_irq() Disables interrupt related to SMBus which can be
either SMBSUS or SMBALERT interrupt
Table 519 • MSS I
2
C APIs (continued)
Category API Description and Usage