Parcourir la source

Main Configuration updated for I2C timeout counter A and B

namrota ghosh il y a 7 mois
Parent
commit
b06a9cd5c5
1 fichiers modifiés avec 4 ajouts et 0 suppressions
  1. 4 0
      main.syscfg

+ 4 - 0
main.syscfg

@@ -71,6 +71,10 @@ I2C1.sclPinConfig.$name        = "ti_driverlib_gpio_GPIOPinGeneric1";
 I2C2.$name                     = "I2C_1";
 I2C2.basicEnableController     = true;
 I2C2.intController             = ["ARBITRATION_LOST","NACK","RXFIFO_TRIGGER","RX_DONE","TXFIFO_TRIGGER","TX_DONE"];
+I2C2.enableTimeoutA            = true;
+I2C2.enableTimeoutB            = true;
+I2C2.timeoutACount             = 25;
+I2C2.timeoutBCount             = 25;
 I2C2.peripheral.$assign        = "I2C1";
 I2C2.peripheral.sdaPin.$assign = "PA3";
 I2C2.peripheral.sclPin.$assign = "PA4";