TI-RTOS Drivers  tidrivers_full_2_20_00_08
Data Structures | Typedefs | Variables
I2CSlaveMSP432.h File Reference

Detailed Description

I2CSlave driver implementation for the EUSCI controller on MSP432.

============================================================================

This I2CSlave driver implementation is designed to operate on a EUCSI controller in I2CSlave mode. The I2CSlaveMSP432 header file should be included in an application as follows:

#include <ti/drivers/I2CSlaveMSP432.h>

#include <stdint.h>
#include <stdbool.h>
#include <ti/drivers/I2CSlave.h>
#include <ti/drivers/ports/HwiP.h>
#include <ti/drivers/ports/SemaphoreP.h>
#include <ti/drivers/Power.h>
Include dependency graph for I2CSlaveMSP432.h:

Go to the source code of this file.

Data Structures

struct  I2CSlaveMSP432_HWAttrs
 I2CSlaveMSP432 Hardware attributes These fields are used by driverlib APIs and therefore must be populated by driverlib macro definitions. For MSP430Ware these definitions are found in: More...
 
struct  I2CSlaveMSP432_Object
 I2CSlaveMSP432 Object. More...
 

Typedefs

typedef struct I2CSlaveMSP432_HWAttrs I2CSlaveMSP432_HWAttrs
 I2CSlaveMSP432 Hardware attributes These fields are used by driverlib APIs and therefore must be populated by driverlib macro definitions. For MSP430Ware these definitions are found in: More...
 
typedef struct I2CSlaveMSP432_Object I2CSlaveMSP432_Object
 I2CSlaveMSP432 Object. More...
 

Variables

const I2CSlave_FxnTable I2CSlaveMSP432_fxnTable
 

Typedef Documentation

I2CSlaveMSP432 Hardware attributes These fields are used by driverlib APIs and therefore must be populated by driverlib macro definitions. For MSP430Ware these definitions are found in:

  • i2cslave.h

A sample structure is shown below:

1 const I2CSlaveMSP432_HWAttrs i2cslaveMSP432HWAttrs[] = {
2  {
3  .baseAddr = EUSCI_B0_BASE,
4  .intNum = INT_EUSCIB0,
5  .intPriority = ~0
6 
7  }
8 };

I2CSlaveMSP432 Object.

The application must not access any member variables of this structure!

Variable Documentation

const I2CSlave_FxnTable I2CSlaveMSP432_fxnTable
Copyright 2016, Texas Instruments Incorporated