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 <stdint.h>
#include <stdbool.h>
#include <ti/drivers/I2CSlave.h>
#include <ti/drivers/dpl/HwiP.h>
#include <ti/drivers/dpl/SemaphoreP.h>
#include <ti/drivers/Power.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 MSP432 driverlib these definitions are found in: More... | |
struct | I2CSlaveMSP432_Object |
I2CSlaveMSP432 Object. More... | |
Macros | |
#define | I2CSLAVEMSP432_P1_6_UCB0SDA 0x00000116 /* Primary, port 1, pin 6 */ |
#define | I2CSLAVEMSP432_P1_7_UCB0SCL 0x00000117 /* Primary, port 1, pin 7 */ |
#define | I2CSLAVEMSP432_P2_0_UCB0SDA ((PMAP_UCB0SDA << 10) | 0x20) |
#define | I2CSLAVEMSP432_P2_0_UCB0SCL ((PMAP_UCB0SCL << 10) | 0x20) |
#define | I2CSLAVEMSP432_P2_0_UCB2SDA ((PMAP_UCB2SDA << 10) | 0x20) |
#define | I2CSLAVEMSP432_P2_0_UCB2SCL ((PMAP_UCB2SCL << 10) | 0x20) |
#define | I2CSLAVEMSP432_P2_1_UCB0SDA ((PMAP_UCB0SDA << 10) | 0x21) |
#define | I2CSLAVEMSP432_P2_1_UCB0SCL ((PMAP_UCB0SCL << 10) | 0x21) |
#define | I2CSLAVEMSP432_P2_1_UCB2SDA ((PMAP_UCB2SDA << 10) | 0x21) |
#define | I2CSLAVEMSP432_P2_1_UCB2SCL ((PMAP_UCB2SCL << 10) | 0x21) |
#define | I2CSLAVEMSP432_P2_2_UCB0SDA ((PMAP_UCB0SDA << 10) | 0x22) |
#define | I2CSLAVEMSP432_P2_2_UCB0SCL ((PMAP_UCB0SCL << 10) | 0x22) |
#define | I2CSLAVEMSP432_P2_2_UCB2SDA ((PMAP_UCB2SDA << 10) | 0x22) |
#define | I2CSLAVEMSP432_P2_2_UCB2SCL ((PMAP_UCB2SCL << 10) | 0x22) |
#define | I2CSLAVEMSP432_P2_3_UCB0SDA ((PMAP_UCB0SDA << 10) | 0x23) |
#define | I2CSLAVEMSP432_P2_3_UCB0SCL ((PMAP_UCB0SCL << 10) | 0x23) |
#define | I2CSLAVEMSP432_P2_3_UCB2SDA ((PMAP_UCB2SDA << 10) | 0x23) |
#define | I2CSLAVEMSP432_P2_3_UCB2SCL ((PMAP_UCB2SCL << 10) | 0x23) |
#define | I2CSLAVEMSP432_P2_4_UCB0SDA ((PMAP_UCB0SDA << 10) | 0x24) |
#define | I2CSLAVEMSP432_P2_4_UCB0SCL ((PMAP_UCB0SCL << 10) | 0x24) |
#define | I2CSLAVEMSP432_P2_4_UCB2SDA ((PMAP_UCB2SDA << 10) | 0x24) |
#define | I2CSLAVEMSP432_P2_4_UCB2SCL ((PMAP_UCB2SCL << 10) | 0x24) |
#define | I2CSLAVEMSP432_P2_5_UCB0SDA ((PMAP_UCB0SDA << 10) | 0x25) |
#define | I2CSLAVEMSP432_P2_5_UCB0SCL ((PMAP_UCB0SCL << 10) | 0x25) |
#define | I2CSLAVEMSP432_P2_5_UCB2SDA ((PMAP_UCB2SDA << 10) | 0x25) |
#define | I2CSLAVEMSP432_P2_5_UCB2SCL ((PMAP_UCB2SCL << 10) | 0x25) |
#define | I2CSLAVEMSP432_P2_6_UCB0SDA ((PMAP_UCB0SDA << 10) | 0x26) |
#define | I2CSLAVEMSP432_P2_6_UCB0SCL ((PMAP_UCB0SCL << 10) | 0x26) |
#define | I2CSLAVEMSP432_P2_6_UCB2SDA ((PMAP_UCB2SDA << 10) | 0x26) |
#define | I2CSLAVEMSP432_P2_6_UCB2SCL ((PMAP_UCB2SCL << 10) | 0x26) |
#define | I2CSLAVEMSP432_P2_7_UCB0SDA ((PMAP_UCB0SDA << 10) | 0x27) |
#define | I2CSLAVEMSP432_P2_7_UCB0SCL ((PMAP_UCB0SCL << 10) | 0x27) |
#define | I2CSLAVEMSP432_P2_7_UCB2SDA ((PMAP_UCB2SDA << 10) | 0x27) |
#define | I2CSLAVEMSP432_P2_7_UCB2SCL ((PMAP_UCB2SCL << 10) | 0x27) |
#define | I2CSLAVEMSP432_P3_0_UCB0SDA ((PMAP_UCB0SDA << 10) | 0x30) |
#define | I2CSLAVEMSP432_P3_0_UCB0SCL ((PMAP_UCB0SCL << 10) | 0x30) |
#define | I2CSLAVEMSP432_P3_0_UCB2SDA ((PMAP_UCB2SDA << 10) | 0x30) |
#define | I2CSLAVEMSP432_P3_0_UCB2SCL ((PMAP_UCB2SCL << 10) | 0x30) |
#define | I2CSLAVEMSP432_P3_1_UCB0SDA ((PMAP_UCB0SDA << 10) | 0x31) |
#define | I2CSLAVEMSP432_P3_1_UCB0SCL ((PMAP_UCB0SCL << 10) | 0x31) |
#define | I2CSLAVEMSP432_P3_1_UCB2SDA ((PMAP_UCB2SDA << 10) | 0x31) |
#define | I2CSLAVEMSP432_P3_1_UCB2SCL ((PMAP_UCB2SCL << 10) | 0x31) |
#define | I2CSLAVEMSP432_P3_2_UCB0SDA ((PMAP_UCB0SDA << 10) | 0x32) |
#define | I2CSLAVEMSP432_P3_2_UCB0SCL ((PMAP_UCB0SCL << 10) | 0x32) |
#define | I2CSLAVEMSP432_P3_2_UCB2SDA ((PMAP_UCB2SDA << 10) | 0x32) |
#define | I2CSLAVEMSP432_P3_2_UCB2SCL ((PMAP_UCB2SCL << 10) | 0x32) |
#define | I2CSLAVEMSP432_P3_3_UCB0SDA ((PMAP_UCB0SDA << 10) | 0x33) |
#define | I2CSLAVEMSP432_P3_3_UCB0SCL ((PMAP_UCB0SCL << 10) | 0x33) |
#define | I2CSLAVEMSP432_P3_3_UCB2SDA ((PMAP_UCB2SDA << 10) | 0x33) |
#define | I2CSLAVEMSP432_P3_3_UCB2SCL ((PMAP_UCB2SCL << 10) | 0x33) |
#define | I2CSLAVEMSP432_P3_4_UCB0SDA ((PMAP_UCB0SDA << 10) | 0x34) |
#define | I2CSLAVEMSP432_P3_4_UCB0SCL ((PMAP_UCB0SCL << 10) | 0x34) |
#define | I2CSLAVEMSP432_P3_4_UCB2SDA ((PMAP_UCB2SDA << 10) | 0x34) |
#define | I2CSLAVEMSP432_P3_4_UCB2SCL ((PMAP_UCB2SCL << 10) | 0x34) |
#define | I2CSLAVEMSP432_P3_5_UCB0SDA ((PMAP_UCB0SDA << 10) | 0x35) |
#define | I2CSLAVEMSP432_P3_5_UCB0SCL ((PMAP_UCB0SCL << 10) | 0x35) |
#define | I2CSLAVEMSP432_P3_5_UCB2SDA ((PMAP_UCB2SDA << 10) | 0x35) |
#define | I2CSLAVEMSP432_P3_5_UCB2SCL ((PMAP_UCB2SCL << 10) | 0x35) |
#define | I2CSLAVEMSP432_P3_6_UCB0SDA ((PMAP_UCB0SDA << 10) | 0x36) |
#define | I2CSLAVEMSP432_P3_6_UCB0SCL ((PMAP_UCB0SCL << 10) | 0x36) |
#define | I2CSLAVEMSP432_P3_6_UCB2SDA ((PMAP_UCB2SDA << 10) | 0x36) |
#define | I2CSLAVEMSP432_P3_6_UCB2SCL ((PMAP_UCB2SCL << 10) | 0x36) |
#define | I2CSLAVEMSP432_P3_7_UCB0SDA ((PMAP_UCB0SDA << 10) | 0x37) |
#define | I2CSLAVEMSP432_P3_7_UCB0SCL ((PMAP_UCB0SCL << 10) | 0x37) |
#define | I2CSLAVEMSP432_P3_7_UCB2SDA ((PMAP_UCB2SDA << 10) | 0x37) |
#define | I2CSLAVEMSP432_P3_7_UCB2SCL ((PMAP_UCB2SCL << 10) | 0x37) |
#define | I2CSLAVEMSP432_P6_4_UCB1SDA 0x00000164 /* Primary, port 6, pin 4 */ |
#define | I2CSLAVEMSP432_P6_5_UCB1SCL 0x00000165 /* Primary, port 6, pin 5 */ |
#define | I2CSLAVEMSP432_P6_6_UCB3SDA 0x00000266 /* Secondary, port 6, pin 6 */ |
#define | I2CSLAVEMSP432_P6_7_UCB3SCL 0x00000267 /* Secondary, port 6, pin 7 */ |
#define | I2CSLAVEMSP432_P7_0_UCB0SDA ((PMAP_UCB0SDA << 10) | 0x70) |
#define | I2CSLAVEMSP432_P7_0_UCB0SCL ((PMAP_UCB0SCL << 10) | 0x70) |
#define | I2CSLAVEMSP432_P7_0_UCB2SDA ((PMAP_UCB2SDA << 10) | 0x70) |
#define | I2CSLAVEMSP432_P7_0_UCB2SCL ((PMAP_UCB2SCL << 10) | 0x70) |
#define | I2CSLAVEMSP432_P7_1_UCB0SDA ((PMAP_UCB0SDA << 10) | 0x71) |
#define | I2CSLAVEMSP432_P7_1_UCB0SCL ((PMAP_UCB0SCL << 10) | 0x71) |
#define | I2CSLAVEMSP432_P7_1_UCB2SDA ((PMAP_UCB2SDA << 10) | 0x71) |
#define | I2CSLAVEMSP432_P7_1_UCB2SCL ((PMAP_UCB2SCL << 10) | 0x71) |
#define | I2CSLAVEMSP432_P7_2_UCB0SDA ((PMAP_UCB0SDA << 10) | 0x72) |
#define | I2CSLAVEMSP432_P7_2_UCB0SCL ((PMAP_UCB0SCL << 10) | 0x72) |
#define | I2CSLAVEMSP432_P7_2_UCB2SDA ((PMAP_UCB2SDA << 10) | 0x72) |
#define | I2CSLAVEMSP432_P7_2_UCB2SCL ((PMAP_UCB2SCL << 10) | 0x72) |
#define | I2CSLAVEMSP432_P7_3_UCB0SDA ((PMAP_UCB0SDA << 10) | 0x73) |
#define | I2CSLAVEMSP432_P7_3_UCB0SCL ((PMAP_UCB0SCL << 10) | 0x73) |
#define | I2CSLAVEMSP432_P7_3_UCB2SDA ((PMAP_UCB2SDA << 10) | 0x73) |
#define | I2CSLAVEMSP432_P7_3_UCB2SCL ((PMAP_UCB2SCL << 10) | 0x73) |
#define | I2CSLAVEMSP432_P7_4_UCB0SDA ((PMAP_UCB0SDA << 10) | 0x74) |
#define | I2CSLAVEMSP432_P7_4_UCB0SCL ((PMAP_UCB0SCL << 10) | 0x74) |
#define | I2CSLAVEMSP432_P7_4_UCB2SDA ((PMAP_UCB2SDA << 10) | 0x74) |
#define | I2CSLAVEMSP432_P7_4_UCB2SCL ((PMAP_UCB2SCL << 10) | 0x74) |
#define | I2CSLAVEMSP432_P7_5_UCB0SDA ((PMAP_UCB0SDA << 10) | 0x75) |
#define | I2CSLAVEMSP432_P7_5_UCB0SCL ((PMAP_UCB0SCL << 10) | 0x75) |
#define | I2CSLAVEMSP432_P7_5_UCB2SDA ((PMAP_UCB2SDA << 10) | 0x75) |
#define | I2CSLAVEMSP432_P7_5_UCB2SCL ((PMAP_UCB2SCL << 10) | 0x75) |
#define | I2CSLAVEMSP432_P7_6_UCB0SDA ((PMAP_UCB0SDA << 10) | 0x76) |
#define | I2CSLAVEMSP432_P7_6_UCB0SCL ((PMAP_UCB0SCL << 10) | 0x76) |
#define | I2CSLAVEMSP432_P7_6_UCB2SDA ((PMAP_UCB2SDA << 10) | 0x76) |
#define | I2CSLAVEMSP432_P7_6_UCB2SCL ((PMAP_UCB2SCL << 10) | 0x76) |
#define | I2CSLAVEMSP432_P7_7_UCB0SDA ((PMAP_UCB0SDA << 10) | 0x77) |
#define | I2CSLAVEMSP432_P7_7_UCB0SCL ((PMAP_UCB0SCL << 10) | 0x77) |
#define | I2CSLAVEMSP432_P7_7_UCB2SDA ((PMAP_UCB2SDA << 10) | 0x77) |
#define | I2CSLAVEMSP432_P7_7_UCB2SCL ((PMAP_UCB2SCL << 10) | 0x77) |
#define | I2CSLAVEMSP432_P10_2_UCB3SDA 0x000001A2 /* Primary, port 10, pin 2 */ |
#define | I2CSLAVEMSP432_P10_3_UCB3SCL 0x000001A3 /* Primary, port 10, pin 3 */ |
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 MSP432 driverlib these definitions are found in: More... | |
typedef struct I2CSlaveMSP432_Object | I2CSlaveMSP432_Object |
I2CSlaveMSP432 Object. More... | |
Variables | |
const I2CSlave_FxnTable | I2CSlaveMSP432_fxnTable |
#define I2CSLAVEMSP432_P1_6_UCB0SDA 0x00000116 /* Primary, port 1, pin 6 */ |
#define I2CSLAVEMSP432_P1_7_UCB0SCL 0x00000117 /* Primary, port 1, pin 7 */ |
#define I2CSLAVEMSP432_P2_0_UCB0SDA ((PMAP_UCB0SDA << 10) | 0x20) |
#define I2CSLAVEMSP432_P2_0_UCB0SCL ((PMAP_UCB0SCL << 10) | 0x20) |
#define I2CSLAVEMSP432_P2_0_UCB2SDA ((PMAP_UCB2SDA << 10) | 0x20) |
#define I2CSLAVEMSP432_P2_0_UCB2SCL ((PMAP_UCB2SCL << 10) | 0x20) |
#define I2CSLAVEMSP432_P2_1_UCB0SDA ((PMAP_UCB0SDA << 10) | 0x21) |
#define I2CSLAVEMSP432_P2_1_UCB0SCL ((PMAP_UCB0SCL << 10) | 0x21) |
#define I2CSLAVEMSP432_P2_1_UCB2SDA ((PMAP_UCB2SDA << 10) | 0x21) |
#define I2CSLAVEMSP432_P2_1_UCB2SCL ((PMAP_UCB2SCL << 10) | 0x21) |
#define I2CSLAVEMSP432_P2_2_UCB0SDA ((PMAP_UCB0SDA << 10) | 0x22) |
#define I2CSLAVEMSP432_P2_2_UCB0SCL ((PMAP_UCB0SCL << 10) | 0x22) |
#define I2CSLAVEMSP432_P2_2_UCB2SDA ((PMAP_UCB2SDA << 10) | 0x22) |
#define I2CSLAVEMSP432_P2_2_UCB2SCL ((PMAP_UCB2SCL << 10) | 0x22) |
#define I2CSLAVEMSP432_P2_3_UCB0SDA ((PMAP_UCB0SDA << 10) | 0x23) |
#define I2CSLAVEMSP432_P2_3_UCB0SCL ((PMAP_UCB0SCL << 10) | 0x23) |
#define I2CSLAVEMSP432_P2_3_UCB2SDA ((PMAP_UCB2SDA << 10) | 0x23) |
#define I2CSLAVEMSP432_P2_3_UCB2SCL ((PMAP_UCB2SCL << 10) | 0x23) |
#define I2CSLAVEMSP432_P2_4_UCB0SDA ((PMAP_UCB0SDA << 10) | 0x24) |
#define I2CSLAVEMSP432_P2_4_UCB0SCL ((PMAP_UCB0SCL << 10) | 0x24) |
#define I2CSLAVEMSP432_P2_4_UCB2SDA ((PMAP_UCB2SDA << 10) | 0x24) |
#define I2CSLAVEMSP432_P2_4_UCB2SCL ((PMAP_UCB2SCL << 10) | 0x24) |
#define I2CSLAVEMSP432_P2_5_UCB0SDA ((PMAP_UCB0SDA << 10) | 0x25) |
#define I2CSLAVEMSP432_P2_5_UCB0SCL ((PMAP_UCB0SCL << 10) | 0x25) |
#define I2CSLAVEMSP432_P2_5_UCB2SDA ((PMAP_UCB2SDA << 10) | 0x25) |
#define I2CSLAVEMSP432_P2_5_UCB2SCL ((PMAP_UCB2SCL << 10) | 0x25) |
#define I2CSLAVEMSP432_P2_6_UCB0SDA ((PMAP_UCB0SDA << 10) | 0x26) |
#define I2CSLAVEMSP432_P2_6_UCB0SCL ((PMAP_UCB0SCL << 10) | 0x26) |
#define I2CSLAVEMSP432_P2_6_UCB2SDA ((PMAP_UCB2SDA << 10) | 0x26) |
#define I2CSLAVEMSP432_P2_6_UCB2SCL ((PMAP_UCB2SCL << 10) | 0x26) |
#define I2CSLAVEMSP432_P2_7_UCB0SDA ((PMAP_UCB0SDA << 10) | 0x27) |
#define I2CSLAVEMSP432_P2_7_UCB0SCL ((PMAP_UCB0SCL << 10) | 0x27) |
#define I2CSLAVEMSP432_P2_7_UCB2SDA ((PMAP_UCB2SDA << 10) | 0x27) |
#define I2CSLAVEMSP432_P2_7_UCB2SCL ((PMAP_UCB2SCL << 10) | 0x27) |
#define I2CSLAVEMSP432_P3_0_UCB0SDA ((PMAP_UCB0SDA << 10) | 0x30) |
#define I2CSLAVEMSP432_P3_0_UCB0SCL ((PMAP_UCB0SCL << 10) | 0x30) |
#define I2CSLAVEMSP432_P3_0_UCB2SDA ((PMAP_UCB2SDA << 10) | 0x30) |
#define I2CSLAVEMSP432_P3_0_UCB2SCL ((PMAP_UCB2SCL << 10) | 0x30) |
#define I2CSLAVEMSP432_P3_1_UCB0SDA ((PMAP_UCB0SDA << 10) | 0x31) |
#define I2CSLAVEMSP432_P3_1_UCB0SCL ((PMAP_UCB0SCL << 10) | 0x31) |
#define I2CSLAVEMSP432_P3_1_UCB2SDA ((PMAP_UCB2SDA << 10) | 0x31) |
#define I2CSLAVEMSP432_P3_1_UCB2SCL ((PMAP_UCB2SCL << 10) | 0x31) |
#define I2CSLAVEMSP432_P3_2_UCB0SDA ((PMAP_UCB0SDA << 10) | 0x32) |
#define I2CSLAVEMSP432_P3_2_UCB0SCL ((PMAP_UCB0SCL << 10) | 0x32) |
#define I2CSLAVEMSP432_P3_2_UCB2SDA ((PMAP_UCB2SDA << 10) | 0x32) |
#define I2CSLAVEMSP432_P3_2_UCB2SCL ((PMAP_UCB2SCL << 10) | 0x32) |
#define I2CSLAVEMSP432_P3_3_UCB0SDA ((PMAP_UCB0SDA << 10) | 0x33) |
#define I2CSLAVEMSP432_P3_3_UCB0SCL ((PMAP_UCB0SCL << 10) | 0x33) |
#define I2CSLAVEMSP432_P3_3_UCB2SDA ((PMAP_UCB2SDA << 10) | 0x33) |
#define I2CSLAVEMSP432_P3_3_UCB2SCL ((PMAP_UCB2SCL << 10) | 0x33) |
#define I2CSLAVEMSP432_P3_4_UCB0SDA ((PMAP_UCB0SDA << 10) | 0x34) |
#define I2CSLAVEMSP432_P3_4_UCB0SCL ((PMAP_UCB0SCL << 10) | 0x34) |
#define I2CSLAVEMSP432_P3_4_UCB2SDA ((PMAP_UCB2SDA << 10) | 0x34) |
#define I2CSLAVEMSP432_P3_4_UCB2SCL ((PMAP_UCB2SCL << 10) | 0x34) |
#define I2CSLAVEMSP432_P3_5_UCB0SDA ((PMAP_UCB0SDA << 10) | 0x35) |
#define I2CSLAVEMSP432_P3_5_UCB0SCL ((PMAP_UCB0SCL << 10) | 0x35) |
#define I2CSLAVEMSP432_P3_5_UCB2SDA ((PMAP_UCB2SDA << 10) | 0x35) |
#define I2CSLAVEMSP432_P3_5_UCB2SCL ((PMAP_UCB2SCL << 10) | 0x35) |
#define I2CSLAVEMSP432_P3_6_UCB0SDA ((PMAP_UCB0SDA << 10) | 0x36) |
#define I2CSLAVEMSP432_P3_6_UCB0SCL ((PMAP_UCB0SCL << 10) | 0x36) |
#define I2CSLAVEMSP432_P3_6_UCB2SDA ((PMAP_UCB2SDA << 10) | 0x36) |
#define I2CSLAVEMSP432_P3_6_UCB2SCL ((PMAP_UCB2SCL << 10) | 0x36) |
#define I2CSLAVEMSP432_P3_7_UCB0SDA ((PMAP_UCB0SDA << 10) | 0x37) |
#define I2CSLAVEMSP432_P3_7_UCB0SCL ((PMAP_UCB0SCL << 10) | 0x37) |
#define I2CSLAVEMSP432_P3_7_UCB2SDA ((PMAP_UCB2SDA << 10) | 0x37) |
#define I2CSLAVEMSP432_P3_7_UCB2SCL ((PMAP_UCB2SCL << 10) | 0x37) |
#define I2CSLAVEMSP432_P6_4_UCB1SDA 0x00000164 /* Primary, port 6, pin 4 */ |
#define I2CSLAVEMSP432_P6_5_UCB1SCL 0x00000165 /* Primary, port 6, pin 5 */ |
#define I2CSLAVEMSP432_P6_6_UCB3SDA 0x00000266 /* Secondary, port 6, pin 6 */ |
#define I2CSLAVEMSP432_P6_7_UCB3SCL 0x00000267 /* Secondary, port 6, pin 7 */ |
#define I2CSLAVEMSP432_P7_0_UCB0SDA ((PMAP_UCB0SDA << 10) | 0x70) |
#define I2CSLAVEMSP432_P7_0_UCB0SCL ((PMAP_UCB0SCL << 10) | 0x70) |
#define I2CSLAVEMSP432_P7_0_UCB2SDA ((PMAP_UCB2SDA << 10) | 0x70) |
#define I2CSLAVEMSP432_P7_0_UCB2SCL ((PMAP_UCB2SCL << 10) | 0x70) |
#define I2CSLAVEMSP432_P7_1_UCB0SDA ((PMAP_UCB0SDA << 10) | 0x71) |
#define I2CSLAVEMSP432_P7_1_UCB0SCL ((PMAP_UCB0SCL << 10) | 0x71) |
#define I2CSLAVEMSP432_P7_1_UCB2SDA ((PMAP_UCB2SDA << 10) | 0x71) |
#define I2CSLAVEMSP432_P7_1_UCB2SCL ((PMAP_UCB2SCL << 10) | 0x71) |
#define I2CSLAVEMSP432_P7_2_UCB0SDA ((PMAP_UCB0SDA << 10) | 0x72) |
#define I2CSLAVEMSP432_P7_2_UCB0SCL ((PMAP_UCB0SCL << 10) | 0x72) |
#define I2CSLAVEMSP432_P7_2_UCB2SDA ((PMAP_UCB2SDA << 10) | 0x72) |
#define I2CSLAVEMSP432_P7_2_UCB2SCL ((PMAP_UCB2SCL << 10) | 0x72) |
#define I2CSLAVEMSP432_P7_3_UCB0SDA ((PMAP_UCB0SDA << 10) | 0x73) |
#define I2CSLAVEMSP432_P7_3_UCB0SCL ((PMAP_UCB0SCL << 10) | 0x73) |
#define I2CSLAVEMSP432_P7_3_UCB2SDA ((PMAP_UCB2SDA << 10) | 0x73) |
#define I2CSLAVEMSP432_P7_3_UCB2SCL ((PMAP_UCB2SCL << 10) | 0x73) |
#define I2CSLAVEMSP432_P7_4_UCB0SDA ((PMAP_UCB0SDA << 10) | 0x74) |
#define I2CSLAVEMSP432_P7_4_UCB0SCL ((PMAP_UCB0SCL << 10) | 0x74) |
#define I2CSLAVEMSP432_P7_4_UCB2SDA ((PMAP_UCB2SDA << 10) | 0x74) |
#define I2CSLAVEMSP432_P7_4_UCB2SCL ((PMAP_UCB2SCL << 10) | 0x74) |
#define I2CSLAVEMSP432_P7_5_UCB0SDA ((PMAP_UCB0SDA << 10) | 0x75) |
#define I2CSLAVEMSP432_P7_5_UCB0SCL ((PMAP_UCB0SCL << 10) | 0x75) |
#define I2CSLAVEMSP432_P7_5_UCB2SDA ((PMAP_UCB2SDA << 10) | 0x75) |
#define I2CSLAVEMSP432_P7_5_UCB2SCL ((PMAP_UCB2SCL << 10) | 0x75) |
#define I2CSLAVEMSP432_P7_6_UCB0SDA ((PMAP_UCB0SDA << 10) | 0x76) |
#define I2CSLAVEMSP432_P7_6_UCB0SCL ((PMAP_UCB0SCL << 10) | 0x76) |
#define I2CSLAVEMSP432_P7_6_UCB2SDA ((PMAP_UCB2SDA << 10) | 0x76) |
#define I2CSLAVEMSP432_P7_6_UCB2SCL ((PMAP_UCB2SCL << 10) | 0x76) |
#define I2CSLAVEMSP432_P7_7_UCB0SDA ((PMAP_UCB0SDA << 10) | 0x77) |
#define I2CSLAVEMSP432_P7_7_UCB0SCL ((PMAP_UCB0SCL << 10) | 0x77) |
#define I2CSLAVEMSP432_P7_7_UCB2SDA ((PMAP_UCB2SDA << 10) | 0x77) |
#define I2CSLAVEMSP432_P7_7_UCB2SCL ((PMAP_UCB2SCL << 10) | 0x77) |
#define I2CSLAVEMSP432_P10_2_UCB3SDA 0x000001A2 /* Primary, port 10, pin 2 */ |
#define I2CSLAVEMSP432_P10_3_UCB3SCL 0x000001A3 /* Primary, port 10, pin 3 */ |
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 MSP432 driverlib these definitions are found in:
A sample structure is shown below:
typedef struct I2CSlaveMSP432_Object I2CSlaveMSP432_Object |
I2CSlaveMSP432 Object.
The application must not access any member variables of this structure!
const I2CSlave_FxnTable I2CSlaveMSP432_fxnTable |