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

Detailed Description

Master transfer data structure definitions.

Definition at line 92 of file i2cm_112x.h.

#include "i2cm_112x.h"

Data Fields

uint8_t slaveAddr
 
uint8_t options
 
uint16_t status
 
uint16_t txSz
 
uint16_t rxSz
 
const uint8_t * txBuff
 
uint8_t * rxBuff
 

Field Documentation

uint8_t options

Options for transfer

Definition at line 94 of file i2cm_112x.h.

uint8_t* rxBuff

Pointer memory where bytes received from I2C be stored

Definition at line 101 of file i2cm_112x.h.

uint16_t rxSz
                Number of bytes to received,

if 0 only transmission we be carried on

Definition at line 98 of file i2cm_112x.h.

uint8_t slaveAddr

7-bit I2C Slave address

Definition at line 93 of file i2cm_112x.h.

uint16_t status

Status of the current I2C transfer

Definition at line 95 of file i2cm_112x.h.

const uint8_t* txBuff

Pointer to array of bytes to be transmitted

Definition at line 100 of file i2cm_112x.h.

uint16_t txSz
                Number of bytes in transmit array,

if 0 only receive transfer will be carried on

Definition at line 96 of file i2cm_112x.h.


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