300 #ifndef ti_drivers_i2c_I2CCC26XX__include 301 #define ti_drivers_i2c_I2CCC26XX__include 313 #include <ti/drivers/dpl/HwiP.h> 314 #include <ti/drivers/dpl/SwiP.h> 315 #include <ti/drivers/dpl/SemaphoreP.h> 348 typedef unsigned long I2CDataType;
387 typedef enum I2CCC26XX_Mode {
388 I2CCC26XX_IDLE_MODE = 0,
389 I2CCC26XX_WRITE_MODE,
391 I2CCC26XX_BUSBUSY_MODE,
392 I2CCC26XX_ERROR = 0xFF
473 typedef struct I2CCC26XX_Object {
477 volatile I2CCC26XX_Mode mode;
483 SemaphoreP_Struct mutex;
484 SemaphoreP_Struct transferComplete;
492 uint8_t *writeBufIdx;
493 unsigned int writeCountIdx;
495 unsigned int readCountIdx;
uint8_t pinSDA
Definition: I2CCC26XX.h:376
int intNum
Definition: I2CCC26XX.h:441
This structure defines the I2C slave address, pointers to write and read buffers, and their associate...
Definition: I2C.h:410
struct I2CCC26XX_I2CPinCfg I2CCC26XX_I2CPinCfg
I2CCC26XX Pin Configuration.
struct I2CCC26XX_HWAttrsV1 I2CCC26XX_HWAttrsV1
I2CCC26XX Hardware attributes.
I2CCC26XX Pin Configuration.
Definition: I2CCC26XX.h:375
Power notify object structure.
Definition: Power.h:121
I2CCC26XX Hardware attributes.
Definition: I2CCC26XX.h:435
uint8_t sclPin
Definition: I2CCC26XX.h:465
enum I2C_TransferMode_ I2C_TransferMode
This I2C driver supports two transfer modes of operation: blocking and callback. The transfer mode is...
unsigned long powerMngrId
Definition: I2CCC26XX.h:439
I2CBaseAddrType baseAddr
Definition: I2CCC26XX.h:437
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:554
const I2C_FxnTable I2CCC26XX_fxnTable
underlying data structure for type PIN_State
Definition: PIN.h:707
uint8_t pinSCL
Definition: I2CCC26XX.h:377
void(* I2C_CallbackFxn)(I2C_Handle handle, I2C_Transaction *transaction, bool transferStatus)
I2C callback function prototype. The application is responsible for declaring a callback function whe...
Definition: I2C.h:474
uint8_t sdaPin
Definition: I2CCC26XX.h:463
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:461
Inter-Intergrated Circuit driver interface.
unsigned long I2CBaseAddrType
Definition: I2CCC26XX.h:346
uint8_t intPriority
I2C Peripheral's interrupt priority.
Definition: I2CCC26XX.h:455