289 #ifndef ti_drivers_i2c_I2CCC26XX__include 290 #define ti_drivers_i2c_I2CCC26XX__include 302 #include <ti/drivers/dpl/HwiP.h> 303 #include <ti/drivers/dpl/SwiP.h> 304 #include <ti/drivers/dpl/SemaphoreP.h> 337 typedef unsigned long I2CDataType;
376 typedef enum I2CCC26XX_Mode {
377 I2CCC26XX_IDLE_MODE = 0,
378 I2CCC26XX_WRITE_MODE,
380 I2CCC26XX_BUSBUSY_MODE,
381 I2CCC26XX_ERROR = 0xFF
462 typedef struct I2CCC26XX_Object {
466 volatile I2CCC26XX_Mode mode;
472 SemaphoreP_Struct mutex;
473 SemaphoreP_Struct transferComplete;
481 uint8_t *writeBufIdx;
482 unsigned int writeCountIdx;
484 unsigned int readCountIdx;
uint8_t pinSDA
Definition: I2CCC26XX.h:365
int intNum
Definition: I2CCC26XX.h:430
I2C transaction.
Definition: I2C.h:464
struct I2CCC26XX_I2CPinCfg I2CCC26XX_I2CPinCfg
I2CCC26XX Pin Configuration.
struct I2CCC26XX_HWAttrsV1 I2CCC26XX_HWAttrsV1
I2CCC26XX Hardware attributes.
I2CCC26XX Pin Configuration.
Definition: I2CCC26XX.h:364
Power notify object structure.
Definition: Power.h:115
I2CCC26XX Hardware attributes.
Definition: I2CCC26XX.h:424
uint8_t sclPin
Definition: I2CCC26XX.h:454
enum I2C_TransferMode_ I2C_TransferMode
I2C transfer mode.
unsigned long powerMngrId
Definition: I2CCC26XX.h:428
I2CBaseAddrType baseAddr
Definition: I2CCC26XX.h:426
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:593
const I2C_FxnTable I2CCC26XX_fxnTable
underlying data structure for type PIN_State
Definition: PIN.h:680
uint8_t pinSCL
Definition: I2CCC26XX.h:366
void(* I2C_CallbackFxn)(I2C_Handle handle, I2C_Transaction *transaction, bool transferStatus)
I2C callback function.
Definition: I2C.h:506
uint8_t sdaPin
Definition: I2CCC26XX.h:452
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:450
unsigned long I2CBaseAddrType
Definition: I2CCC26XX.h:335
uint8_t intPriority
I2C Peripheral's interrupt priority.
Definition: I2CCC26XX.h:444