293 #ifndef ti_drivers_i2c_I2CCC26XX__include 294 #define ti_drivers_i2c_I2CCC26XX__include 306 #include <ti/drivers/dpl/HwiP.h> 307 #include <ti/drivers/dpl/SwiP.h> 308 #include <ti/drivers/dpl/SemaphoreP.h> 341 typedef unsigned long I2CDataType;
380 typedef enum I2CCC26XX_Mode {
381 I2CCC26XX_IDLE_MODE = 0,
382 I2CCC26XX_WRITE_MODE,
384 I2CCC26XX_BUSBUSY_MODE,
385 I2CCC26XX_ERROR = 0xFF
466 typedef struct I2CCC26XX_Object {
470 volatile I2CCC26XX_Mode mode;
476 SemaphoreP_Struct mutex;
477 SemaphoreP_Struct transferComplete;
485 uint8_t *writeBufIdx;
486 unsigned int writeCountIdx;
488 unsigned int readCountIdx;
uint8_t pinSDA
Definition: I2CCC26XX.h:369
int intNum
Definition: I2CCC26XX.h:434
This structure defines the I2C slave address, pointers to write and read buffers, and their associate...
Definition: I2C.h:411
struct I2CCC26XX_I2CPinCfg I2CCC26XX_I2CPinCfg
I2CCC26XX Pin Configuration.
struct I2CCC26XX_HWAttrsV1 I2CCC26XX_HWAttrsV1
I2CCC26XX Hardware attributes.
I2CCC26XX Pin Configuration.
Definition: I2CCC26XX.h:368
Power notify object structure.
Definition: Power.h:121
I2CCC26XX Hardware attributes.
Definition: I2CCC26XX.h:428
uint8_t sclPin
Definition: I2CCC26XX.h:458
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:432
I2CBaseAddrType baseAddr
Definition: I2CCC26XX.h:430
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:370
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:475
uint8_t sdaPin
Definition: I2CCC26XX.h:456
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:454
Inter-Intergrated Circuit driver interface.
unsigned long I2CBaseAddrType
Definition: I2CCC26XX.h:339
uint8_t intPriority
I2C Peripheral's interrupt priority.
Definition: I2CCC26XX.h:448