TI-RTOS for SimpleLink Wireless MCUs  2.14.03.28
Data Fields
I2CCC26XX_I2CPinCfg Struct Reference

I2CCC26XX Pin Configuration. More...

#include <I2CCC26XX.h>

Data Fields

uint8_t pinSDA
 
uint8_t pinSCL
 

Detailed Description

I2CCC26XX Pin Configuration.

Pin configuration that holds non-default pins. The default pin configuration is typically defined in I2CCC26XX_HWAttrs placed in the board file. The pin configuration structure is used by setting the custom void pointer in the I2C_Params to point to this struct. If the custom void pointer is NULL, the I2CCC26XX_HWAttrs pin mapping will be used.

I2C_Handle handle;
I2C_Params i2cParams;
I2C_Params_init(&i2cParams); // sets custom to NULL
pinCfg.pinSDA = Board_I2C0_SDA1;
pinCfg.pinSCL = Board_I2C0_SCL1;
i2cParams.custom = &pinCfg;
handle = I2C_open(Board_I2C, &i2cParams);

Field Documentation

uint8_t I2CCC26XX_I2CPinCfg::pinSDA
uint8_t I2CCC26XX_I2CPinCfg::pinSCL

The documentation for this struct was generated from the following file:
Copyright 2015, Texas Instruments Incorporated