LPCOpen Platform for LPC18XX/43XX microcontrollers: I2C_XFER_T Struct Reference

| LPCOpen Platform for LPC18XX/43XX microcontrollers 18XX43XX LPCOpen Platform for the NXP LPC18XX/43XX family of Microcontrollers

- Main Page
- Modules
- Data Structures
- Files

- Data Structures
- Data Structure Index
- Data Fields

Data Fields
I2C_XFER_T Struct Reference

## Detailed Description

Master transfer data structure definitions.

Definition at line 122 of file i2c_18xx_43xx.h.

`#include "i2c_18xx_43xx.h"`

## Data Fields
uint8_t | slaveAddr
const uint8_t * | txBuff
int | txSz
uint8_t * | rxBuff
int | rxSz
I2C_STATUS_T | status

## Field Documentation

uint8_t* rxBuff

Pointer memory where bytes received from I2C be stored

Definition at line 127 of file i2c_18xx_43xx.h.

int rxSz

                   Number of bytes to received,

if 0 only transmission we be carried on

Definition at line 128 of file i2c_18xx_43xx.h.

uint8_t slaveAddr

7-bit I2C Slave address

Definition at line 123 of file i2c_18xx_43xx.h.

I2C_STATUS_T status

Status of the current I2C transfer

Definition at line 130 of file i2c_18xx_43xx.h.

const uint8_t* txBuff

Pointer to array of bytes to be transmitted

Definition at line 124 of file i2c_18xx_43xx.h.

int txSz

                   Number of bytes in transmit array,

if 0 only receive transfer will be carried on

Definition at line 125 of file i2c_18xx_43xx.h.

The documentation for this struct was generated from the following file:

- C:/w/lpcopen_docs/software/lpc_core/lpc_chip/chip_18xx_43xx/i2c_18xx_43xx.h