TI-RTOS for SimpleLink Wireless MCUs  2.14.03.28
Data Fields
I2CCC26XX_Object Struct Reference

I2CCC26XX Object. More...

#include <I2CCC26XX.h>

Collaboration diagram for I2CCC26XX_Object:
Collaboration graph
[legend]

Data Fields

I2C_TransferMode transferMode
 
I2C_CallbackFxn transferCallbackFxn
 
volatile I2CCC26XX_Mode mode
 
uint32_t bitRate
 
ti_sysbios_family_arm_m3_Hwi_Struct hwi
 
Semaphore_Struct mutex
 
Semaphore_Struct transferComplete
 
PIN_State pinState
 
PIN_Handle hPin
 
I2C_TransactioncurrentTransaction
 
uint8_t * writeBufIdx
 
unsigned int writeCountIdx
 
uint8_t * readBufIdx
 
unsigned int readCountIdx
 
I2C_TransactionheadPtr
 
I2C_TransactiontailPtr
 
void * i2cPostFxn
 
Power_NotifyObj i2cPostObj
 
bool isOpen
 

Detailed Description

I2CCC26XX Object.

The application must not access any member variables of this structure!

Field Documentation

I2C_TransferMode I2CCC26XX_Object::transferMode

Blocking or Callback mode

I2C_CallbackFxn I2CCC26XX_Object::transferCallbackFxn

Callback function pointer

volatile I2CCC26XX_Mode I2CCC26XX_Object::mode

Stores the I2C state

uint32_t I2CCC26XX_Object::bitRate

Bitrate of the I2C module

ti_sysbios_family_arm_m3_Hwi_Struct I2CCC26XX_Object::hwi

Hwi object handle

Semaphore_Struct I2CCC26XX_Object::mutex

Grants exclusive access to I2C

Semaphore_Struct I2CCC26XX_Object::transferComplete

Notify finished I2C transfer

PIN_State I2CCC26XX_Object::pinState
PIN_Handle I2CCC26XX_Object::hPin
I2C_Transaction* I2CCC26XX_Object::currentTransaction

Ptr to current I2C transaction

uint8_t* I2CCC26XX_Object::writeBufIdx

Internal inc. writeBuf index

unsigned int I2CCC26XX_Object::writeCountIdx

Internal dec. writeCounter

uint8_t* I2CCC26XX_Object::readBufIdx

Internal inc. readBuf index

unsigned int I2CCC26XX_Object::readCountIdx

Internal dec. readCounter

I2C_Transaction* I2CCC26XX_Object::headPtr

Head ptr for queued transactions

I2C_Transaction* I2CCC26XX_Object::tailPtr

Tail ptr for queued transactions

void* I2CCC26XX_Object::i2cPostFxn

I2C post-notification Function pointer

Power_NotifyObj I2CCC26XX_Object::i2cPostObj

I2C post-notification object

bool I2CCC26XX_Object::isOpen

flag to indicate module is open


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