TI-RTOS Drivers  tidrivers_cc13xx_cc26xx_2_20_00_08
Data Fields
I2C_Transaction Struct Reference

I2C transaction. More...

#include <I2C.h>

Data Fields

void * writeBuf
 
size_t writeCount
 
void * readBuf
 
size_t readCount
 
unsigned char slaveAddress
 
void * arg
 
void * nextPtr
 

Detailed Description

I2C transaction.

This structure defines the nature of the I2C transaction. This structure specifies the buffer and buffer's size that is to be written to or read from the I2C slave peripheral. arg is an optional user supplied argument that will be passed to the callback function when the I2C driver is in I2C_MODE_CALLBACK. nextPtr is to be only used by the I2C driver.

Field Documentation

void* I2C_Transaction::writeBuf

Buffer containing data to be written

size_t I2C_Transaction::writeCount

Number of bytes to be written to the slave

void* I2C_Transaction::readBuf

Buffer to which data is to be read into

size_t I2C_Transaction::readCount

Number of bytes to be read from the slave

unsigned char I2C_Transaction::slaveAddress

Address of the I2C slave device

void* I2C_Transaction::arg

Argument to be passed to the callback function

void* I2C_Transaction::nextPtr

Used for queuing in I2C_MODE_CALLBACK mode


The documentation for this struct was generated from the following file:
Copyright 2016, Texas Instruments Incorporated