| LPCOpen Platform v1.03 LPCOpen Platform for NXP LPC Microcontrollers

- Main Page
- Modules
- Data Structures
- Files
- Related Pages

- Data Structures
- Data Structure Index
- Data Fields

All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Fields
I2C_XFER_T Struct Reference
IP: I2C register block and driver

## Detailed Description

Master transfer data structure definitions.

Definition at line 265 of file i2c_001.h.

`#include "i2c_001.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 270 of file i2c_001.h.

int rxSz

Number of bytes to received, if 0 only transmission we be carried on

Definition at line 271 of file i2c_001.h.

uint8_t slaveAddr

7-bit I2C Slave address

Definition at line 266 of file i2c_001.h.

I2C_STATUS_T status

Status of the current I2C transfer

Definition at line 273 of file i2c_001.h.

const uint8_t* txBuff

Pointer to array of bytes to be transmitted

Definition at line 267 of file i2c_001.h.

int txSz

Number of bytes in transmit array, if 0 only receive transfer will be carried on

Definition at line 268 of file i2c_001.h.

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

- C:/nxp/v1.03/lpcopen_v1.03/lpcopen/software/lpc_core/lpc_ip/i2c_001.h