305 #ifndef ti_drivers_i2c_I2CCC26XX__include 306 #define ti_drivers_i2c_I2CCC26XX__include 318 #include <ti/drivers/dpl/HwiP.h> 319 #include <ti/drivers/dpl/SwiP.h> 320 #include <ti/drivers/dpl/SemaphoreP.h> 353 typedef unsigned long I2CDataType;
392 typedef enum I2CCC26XX_Mode {
393 I2CCC26XX_IDLE_MODE = 0,
394 I2CCC26XX_WRITE_MODE,
396 I2CCC26XX_BUSBUSY_MODE,
397 I2CCC26XX_ERROR = 0xFF
478 typedef struct I2CCC26XX_Object {
482 volatile I2CCC26XX_Mode mode;
488 SemaphoreP_Struct mutex;
489 SemaphoreP_Struct transferComplete;
497 uint8_t *writeBufIdx;
498 unsigned int writeCountIdx;
500 unsigned int readCountIdx;
uint8_t pinSDA
Definition: I2CCC26XX.h:381
int intNum
Definition: I2CCC26XX.h:446
struct I2CCC26XX_I2CPinCfg I2CCC26XX_I2CPinCfg
I2CCC26XX Pin Configuration.
struct I2CCC26XX_HWAttrsV1 I2CCC26XX_HWAttrsV1
I2CCC26XX Hardware attributes.
I2CCC26XX Pin Configuration.
Definition: I2CCC26XX.h:380
I2CCC26XX Hardware attributes.
Definition: I2CCC26XX.h:440
I2C_TransferMode
Return behavior of I2C_Transfer() specified in the I2C_Params.
Definition: I2C.h:457
uint8_t sclPin
Definition: I2CCC26XX.h:470
unsigned long powerMngrId
Definition: I2CCC26XX.h:444
I2CBaseAddrType baseAddr
Definition: I2CCC26XX.h:442
Device-specific pin & GPIO driver for CC26xx family [def].
The definition of an I2C function table that contains the required set of functions to control a spec...
Definition: I2C.h:603
Power notify object structure.
Definition: Power.h:443
const I2C_FxnTable I2CCC26XX_fxnTable
underlying data structure for type PIN_State
Definition: PIN.h:707
uint8_t pinSCL
Definition: I2CCC26XX.h:382
void(* I2C_CallbackFxn)(I2C_Handle handle, I2C_Transaction *transaction, bool transferStatus)
The definition of a callback function.
Definition: I2C.h:507
Defines a transaction to be used with I2C_transfer()
Definition: I2C.h:380
uint8_t sdaPin
Definition: I2CCC26XX.h:468
uint32_t swiPriority
I2C Swi priority. The higher the number, the higher the priority. The minimum is 0 and the maximum is...
Definition: I2CCC26XX.h:466
Inter-Integrated Circuit (I2C) Driver.
unsigned long I2CBaseAddrType
Definition: I2CCC26XX.h:351
uint8_t intPriority
I2C Peripheral's interrupt priority.
Definition: I2CCC26XX.h:460