| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152 |
- /**
- * These arguments were used when this file was generated. They will be automatically applied on subsequent loads
- * via the GUI or CLI. Run CLI with '--help' for additional information on how to override these arguments.
- * @cliArgs --device "MSPM0G350X" --part "Default" --package "LQFP-64(PM)" --product "mspm0_sdk@2.03.00.08"
- * @v2CliArgs --device "MSPM0G3507" --package "LQFP-64(PM)" --product "mspm0_sdk@2.03.00.08"
- * @versions {"tool":"1.22.0+3893"}
- */
- /**
- * Import the modules used in this configuration.
- */
- const I2C = scripting.addModule("/ti/driverlib/I2C", {}, false);
- const I2C1 = I2C.addInstance();
- const I2C2 = I2C.addInstance();
- const SYSCTL = scripting.addModule("/ti/driverlib/SYSCTL");
- const ProjectConfig = scripting.addModule("/ti/project_config/ProjectConfig");
- /**
- * Write custom configuration values to the imported modules.
- */
- I2C1.$name = "I2C_0";
- I2C1.basicEnableTarget = true;
- I2C1.intTarget = ["RXFIFO_TRIGGER","RX_DONE","START","STOP","TXFIFO_TRIGGER","TX_DONE"];
- I2C1.sdaPinConfig.$name = "ti_driverlib_gpio_GPIOPinGeneric0";
- I2C1.sclPinConfig.$name = "ti_driverlib_gpio_GPIOPinGeneric1";
- const Board = scripting.addModule("/ti/driverlib/Board", {}, false);
- I2C2.$name = "I2C_1";
- I2C2.basicEnableController = true;
- I2C2.intController = ["ARBITRATION_LOST","NACK","RXFIFO_TRIGGER","RX_DONE","TXFIFO_TRIGGER","TX_DONE"];
- I2C2.sdaPinConfig.$name = "ti_driverlib_gpio_GPIOPinGeneric2";
- I2C2.sclPinConfig.$name = "ti_driverlib_gpio_GPIOPinGeneric3";
- ProjectConfig.deviceSpin = "MSPM0G3507";
- /**
- * Pinmux solution for unlocked pins/peripherals. This ensures that minor changes to the automatic solver in a future
- * version of the tool will not impact the pinmux you originally saw. These lines can be completely deleted in order to
- * re-solve from scratch.
- */
- I2C1.peripheral.$suggestSolution = "I2C1";
- I2C1.peripheral.sdaPin.$suggestSolution = "PA10";
- I2C1.peripheral.sclPin.$suggestSolution = "PA11";
- Board.peripheral.$suggestSolution = "DEBUGSS";
- Board.peripheral.swclkPin.$suggestSolution = "PA20";
- Board.peripheral.swdioPin.$suggestSolution = "PA19";
- I2C2.peripheral.$suggestSolution = "I2C0";
- I2C2.peripheral.sdaPin.$suggestSolution = "PA0";
- I2C2.peripheral.sclPin.$suggestSolution = "PA1";
- SYSCTL.peripheral.$suggestSolution = "SYSCTL";
|