C280x/C2833x I2C Transmit

Configure inter-integrated circuit (I2C) module to transmit data to I2C bus

Library

c280xdspchiplib and c2833xdspchiplib in Target Support Package™ TC2 software

Description

Configure the I2C module to transmit data to the two-wire I2C serial bus. Also configure the

Dialog Box

Addressing format

The I2C transmit block supports the 7–Bit addressing, 10–Bit addressing, and Free data format. The default setting is 7–Bit addressing.

Slave address source

Select the method for setting the slave address register of the I2C slave. Selecting Specify via dialog displays Slave address register parameter . Selecting Input port enables definition of the address register via the input port. The default setting is Specify via dialog.

Slave address register

When you select Specify via dialog, enter a value for the Slave address register. The default value is 80.

Bit Count

Set the bit count to 1 through 8. The default setting is 8.

Enable stop condition

Selecting this parameter enables the transmitter to accept a STOP condition from the C280x/C2833x I2C Receive block. The default setting is disabled (not selected).

Enable repeat mode

Selecting this parameter enables repeat mode. The default setting is disabled (not selected).

Output transmitting status

Selecting this parameter creates a status output that indicates when the I2C transmit block is transmitting a message. The default setting is disabled (not selected).

References

For detailed information on the I2C module, see:

See Also

C280x/C2833x I2C Receive

  


 © 1984-2008- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS