libuav original

Dependents:   UAVCAN UAVCAN_Subscriber

Embed: (wiki syntax)

« Back to documentation index

I2C_XFER_T Struct Reference

I2C_XFER_T Struct Reference
[CHIP: LPC11xx I2C driver]

Master transfer data structure definitions. More...

#include <i2c_11xx.h>

Data Fields

uint8_t slaveAddr
 7-bit I2C Slave address
const uint8_t * txBuff
 Pointer to array of bytes to be transmitted.
int txSz
 Number of bytes in transmit array, if 0 only receive transfer will be carried on.
uint8_t * rxBuff
 Pointer memory where bytes received from I2C be stored.
int rxSz
 Number of bytes to received, if 0 only transmission we be carried on.
I2C_STATUS_T status
 Status of the current I2C transfer.

Detailed Description

Master transfer data structure definitions.

Definition at line 264 of file i2c_11xx.h.


Field Documentation

uint8_t* rxBuff

Pointer memory where bytes received from I2C be stored.

Definition at line 269 of file i2c_11xx.h.

int rxSz

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

Definition at line 270 of file i2c_11xx.h.

uint8_t slaveAddr

7-bit I2C Slave address

Definition at line 265 of file i2c_11xx.h.

Status of the current I2C transfer.

Definition at line 272 of file i2c_11xx.h.

const uint8_t* txBuff

Pointer to array of bytes to be transmitted.

Definition at line 266 of file i2c_11xx.h.

int txSz

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

Definition at line 267 of file i2c_11xx.h.