/** * 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 --board "/boards/TMDSCNCD2800157" --context "system" --product "C2000WARE@5.01.00.00" * @versions {"tool":"1.19.0+3426"} */ /** * Import the modules used in this configuration. */ const cputimer = scripting.addModule("/driverlib/cputimer.js", {}, false); const cputimer1 = cputimer.addInstance(); const lin = scripting.addModule("/driverlib/lin.js", {}, false); const lin1 = lin.addInstance(); /** * Write custom configuration values to the imported modules. */ cputimer1.$name = "CPUTIMER0_1msTick"; cputimer1.timerPeriod = 120000; cputimer1.registerInterrupts = true; cputimer1.startTimer = true; cputimer1.enableInterrupt = true; cputimer1.timerInt.enableInterrupt = true; lin1.$name = "myLIN0"; lin1.enableInterrupt = true; lin1.interruptFlags = [" LIN_INT_ID"," LIN_INT_RX"]; lin1.interruptLine = ["LIN_INTERRUPT_LINE0"]; lin1.interruptPriorityLine0 = [" LIN_INT_ID"," LIN_INT_RX"]; lin1.useDefaultLin = false; lin1.linMode = "LIN_MODE_LIN_RESPONDER"; lin1.lin.$assign = "LINA"; lin1.lin.lin_rxPin.$assign = "hsecDigital.90"; lin1.lin.lin_txPin.$assign = "hsecDigital.88";