TMS320F28335 Library  1.0
Documentation
_I2CMSG_transmit Struct Reference

I2C Transmit-Message structure. More...

#include <i2c.h>

Data Fields

Uint16 SlaveAddress
 Write 7-Bit Slave Adress. Example: 0x3. More...
 
Uint16 RegisterAddressLength
 Write length of Registeradress in Byte(max. 2). Example: 2 (for 0xFF12) More...
 
Uint16 RegisterAddressHigh
 Write first byte of Registeradress. Example: 0xFF. More...
 
Uint16 RegisterAddressLow
 Write second byte of Registeradress. Example: 0x12. More...
 
Uint16 DataLength
 Write length of databytes to receive or to transmit. Example: 2 (for transmission of 0x6688) More...
 
Uint16 Data [16]
 Write data to be sent into Data-Array. Read Data from Array after Read-operations. More...
 

Detailed Description

I2C Transmit-Message structure.


Definition at line 25 of file i2c.h.

Field Documentation

◆ Data

Uint16 Data[16]

Write data to be sent into Data-Array. Read Data from Array after Read-operations.

Definition at line 31 of file i2c.h.

◆ DataLength

Uint16 DataLength

Write length of databytes to receive or to transmit. Example: 2 (for transmission of 0x6688)

Definition at line 30 of file i2c.h.

◆ RegisterAddressHigh

Uint16 RegisterAddressHigh

Write first byte of Registeradress. Example: 0xFF.

Definition at line 28 of file i2c.h.

◆ RegisterAddressLength

Uint16 RegisterAddressLength

Write length of Registeradress in Byte(max. 2). Example: 2 (for 0xFF12)

Definition at line 27 of file i2c.h.

◆ RegisterAddressLow

Uint16 RegisterAddressLow

Write second byte of Registeradress. Example: 0x12.

Definition at line 29 of file i2c.h.

◆ SlaveAddress

Uint16 SlaveAddress

Write 7-Bit Slave Adress. Example: 0x3.

Definition at line 26 of file i2c.h.