|
@@ -58,6 +58,11 @@ I2C2.$name = "I2C_target";
|
|
|
I2C2.basicEnableTarget = true;
|
|
I2C2.basicEnableTarget = true;
|
|
|
I2C2.intTarget = ["RXFIFO_TRIGGER","START","STOP","TXFIFO_TRIGGER"];
|
|
I2C2.intTarget = ["RXFIFO_TRIGGER","START","STOP","TXFIFO_TRIGGER"];
|
|
|
I2C2.basicTargetAddress = 0x48;
|
|
I2C2.basicTargetAddress = 0x48;
|
|
|
|
|
+I2C2.enableTimeoutA = true;
|
|
|
|
|
+I2C2.timeoutACount = 125;
|
|
|
|
|
+I2C2.enableTimeoutB = true;
|
|
|
|
|
+I2C2.timeoutBCount = 125;
|
|
|
|
|
+I2C2.intGeneric = ["TIMEOUT_A","TIMEOUT_B"];
|
|
|
I2C2.peripheral.sdaPin.$assign = "PA0";
|
|
I2C2.peripheral.sdaPin.$assign = "PA0";
|
|
|
I2C2.peripheral.sclPin.$assign = "PA1/NRST";
|
|
I2C2.peripheral.sclPin.$assign = "PA1/NRST";
|
|
|
I2C2.sdaPinConfig.$name = "ti_driverlib_gpio_GPIOPinGeneric2";
|
|
I2C2.sdaPinConfig.$name = "ti_driverlib_gpio_GPIOPinGeneric2";
|