LPCOpen Platform for LPC112X microcontrollers  112X
LPCOpen Platform for the NXP LPC112X family of Microcontrollers
Data Fields
I2C_XFER_T Struct Reference

Detailed Description

Master transfer data structure definitions.

Definition at line 122 of file i2c_112x.h.

#include "i2c_112x.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_112x.h.

int rxSz
               Number of bytes to received,

if 0 only transmission we be carried on

Definition at line 128 of file i2c_112x.h.

uint8_t slaveAddr

7-bit I2C Slave address

Definition at line 123 of file i2c_112x.h.

I2C_STATUS_T status

Status of the current I2C transfer

Definition at line 130 of file i2c_112x.h.

const uint8_t* txBuff

Pointer to array of bytes to be transmitted

Definition at line 124 of file i2c_112x.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_112x.h.


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