52 #ifndef ti_drivers_i2c_I2CCC32XX__include 53 #define ti_drivers_i2c_I2CCC32XX__include 59 #include <ti/drivers/dpl/HwiP.h> 60 #include <ti/drivers/dpl/SemaphoreP.h> 79 #define I2CCC32XX_PIN_01_I2C_SCL 0x100 80 #define I2CCC32XX_PIN_02_I2C_SDA 0x101 81 #define I2CCC32XX_PIN_03_I2C_SCL 0x502 82 #define I2CCC32XX_PIN_04_I2C_SDA 0x503 83 #define I2CCC32XX_PIN_05_I2C_SCL 0x504 84 #define I2CCC32XX_PIN_06_I2C_SDA 0x505 85 #define I2CCC32XX_PIN_16_I2C_SCL 0x90F 86 #define I2CCC32XX_PIN_17_I2C_SDA 0x910 127 I2CCC32XX_IDLE_MODE = 0,
129 I2CCC32XX_WRITE_MODE,
135 I2CCC32XX_ERROR = 0xFF
194 SemaphoreP_Handle mutex;
195 SemaphoreP_Handle transferComplete;
197 HwiP_Handle hwiHandle;
202 volatile I2CCC32XX_Mode mode;
206 uint8_t *writeBufIdx;
207 size_t totalWriteCountIdx;
208 size_t burstWriteCountIdx;
211 size_t totalReadCountIdx;
212 size_t burstReadCountIdx;
unsigned int intNum
Definition: I2CCC32XX.h:179
I2C_BitRate
Bit rate for an I2C driver instance specified in the I2C_Params.
Definition: I2C.h:519
uint16_t dataPin
Definition: I2CCC32XX.h:185
unsigned int intPriority
Definition: I2CCC32XX.h:181
I2C_TransferMode
Return behavior of I2C_Transfer() specified in the I2C_Params.
Definition: I2C.h:458
The definition of an I2C function table that contains the required set of functions to control a spec...
Definition: I2C.h:604
Power notify object structure.
Definition: Power.h:443
I2CCC32XX Hardware attributes.
Definition: I2CCC32XX.h:175
unsigned int baseAddr
Definition: I2CCC32XX.h:177
uint16_t clkPin
Definition: I2CCC32XX.h:183
const I2C_FxnTable I2CCC32XX_fxnTable
void(* I2C_CallbackFxn)(I2C_Handle handle, I2C_Transaction *transaction, bool transferStatus)
The definition of a callback function.
Definition: I2C.h:508
Defines a transaction to be used with I2C_transfer()
Definition: I2C.h:381
Inter-Integrated Circuit (I2C) Driver.