- 11 (epwm): EPWM1 implicitly created.
- 10 (epwm_basic): EPWM implicitly created for channel 0, pwm 1.
- 12 (epwm): EPWM2 implicitly created.
- 10 (epwm_basic): EPWM implicitly created for channel 1, pwm 2.
- 13 (epwm): EPWM3 implicitly created.
- 10 (epwm_basic): EPWM implicitly created for channel 2, pwm 3.
- 19 (spi): SPI A implicitly created.
- 22 (can): CAN A implicitly created.
Triggering algorithm for CPU 0
- 10 (epwm_basic): Offered trigger generator at 5000.000000 Hz
New best fit for default triggering block: bid=10, Ts=2.000000e-04, Ferror=5.000000e+03
- 17 (timer): Offered trigger generator at 10000.000000 Hz
New best fit for default triggering block: bid=17, Ts=1.000000e-04, Ferror=0.000000e+00
- 17 (timer): Offered trigger generator at 10000.000000 Hz
- 25 (tasktrigger): Task trigger sample time for tasktrigger (25) propagated to: 0.000100.
- 03 (extmode): Configuring external mode over UART.
- 03 (extmode): Allocating 2168 bytes for external mode buffer.
- 22 (can): CAN settings: {
  ["samplePoint"] = 0.6,
  ["sjw"] = 4,
  ["tseg1"] = 8,
  ["tseg2"] = 6,
  ["baud"] = 250000.0,
  ["brp"] = 20,
}

Block coding complete.

Blocks in model: {
  [1] = {
  },
  [2] = {
  },
  [3] = {
    ["sciBaud"] = 115200,
    ["cpuPostfix"] = "",
    ["sciInstance"] = 0,
  },
  [4] = {
    ["sciBaud"] = 115200,
    ["unit"] = "A",
    ["sciPinset"] = 0,
  },
  [5] = {
  },
  [6] = {
  },
  [7] = {
    ["is_cla_trigger"] = false,
    ["downstreamConnectionsPropagated"] = true,
    ["maxACQPS"] = 0,
    ["adcLetter"] = "A",
    ["adcUnitAsInt"] = 0.0,
    ["trigExpression"] = "{adctrig={bid=17}}",
    ["trigsel"] = 1,
    ["sigmodeDifferential"] = false,
    ["trig"] = {
      ["frequency"] = 10000.0,
      ["period"] = 7500,
      ["adctrig"] = {
        [1] = <cyclic reference>,
      },
      ["unit"] = 0,
    },
    ["ts"] = 0.0001,
    ["modtrig"] = {
      [1] = {
        ["trig_base_task_exp"] = "{modtrig = {bid = 17}}",
        ["trigExpression"] = "{modtrig={bid=7}}",
        ["ts"] = 0.0001,
      },
    },
    ["is_mod_trigger"] = true,
    ["trig_base_task_exp"] = "{adctrig = {bid = 17}}",
    ["totalConversionTimeInAcqps"] = 0,
    ["num_channels"] = 9,
    ["channels"] = {
      [1] = {
        ["input"] = 0.0,
        ["offset"] = -42.3,
        ["ACQPS"] = 0,
        ["scale"] = 28.2,
      },
      [2] = {
        ["input"] = 1.0,
        ["offset"] = -42.3,
        ["ACQPS"] = 0,
        ["scale"] = 28.2,
      },
      [3] = {
        ["input"] = 2.0,
        ["offset"] = -42.3,
        ["ACQPS"] = 0,
        ["scale"] = 28.2,
      },
      [4] = {
        ["input"] = 3.0,
        ["offset"] = 0.0,
        ["ACQPS"] = 0,
        ["scale"] = 266.66666666667,
      },
      [5] = {
        ["input"] = 14.0,
        ["offset"] = 0.0,
        ["ACQPS"] = 0,
        ["scale"] = 266.66666666667,
      },
      [6] = {
        ["input"] = 4.0,
        ["offset"] = 0.0,
        ["ACQPS"] = 0,
        ["scale"] = 1.0,
      },
      [7] = {
        ["input"] = 12.0,
        ["offset"] = -10.0,
        ["ACQPS"] = 0,
        ["scale"] = 6.6666666666667,
      },
      [8] = {
        ["input"] = 13.0,
        ["offset"] = -10.0,
        ["ACQPS"] = 0,
        ["scale"] = 6.6666666666667,
      },
      [9] = {
        ["input"] = 7.0,
        ["offset"] = 0.0,
        ["ACQPS"] = 0,
        ["scale"] = 1.0,
      },
    },
  },
  [8] = {
    ["enable_gpio"] = 49.0,
    ["tripzones_obj"] = {
    },
    ["sample_time"] = 0.0001,
    ["enable_pol"] = false,
    ["deprecated"] = false,
    ["trip_signal_groups"] = {
    },
    ["force_safe"] = true,
    ["trip_zones_configured"] = {
    },
    ["enable_code_generated"] = true,
    ["trip_zones"] = {
      [1] = "osht",
    },
    ["task_name"] = "[0, 0]",
  },
  [9] = {
  },
  [10] = {
    ["mask"] = {
      ["MinDeadTime"] = nan,
      ["VariableDeadTimeEnabled"] = false,
      ["Delay"] = 2e-06,
      ["SyncSrc"] = "self",
      ["Phase"] = {
        [1] = 0.0,
        [2] = 0.0,
        [3] = 0.0,
      },
      ["SyncOut"] = "disabled",
      ["cbx_sequence"] = {
        ["asString"] = "function: 000001DB50755890",
        ["asCx"] = "function: 000001DB50755E90",
        ["equals"] = "function: 000001DB540915A0",
        ["dump"] = "function: 000001DB54091620",
        ["getWidgetType"] = "function: 000001DB507501C0",
        ["asRawValue"] = "function: 000001DB50755B00",
      },
      ["AdcTriggerEvent"] = "disabled",
      ["AllowProtection"] = true,
      ["TaskTriggerEvent"] = "disabled",
      ["SequenceAq"] = nan,
      ["TzMode"] = {
      },
      ["cbx_frequencyTolerance"] = {
        ["asString"] = "function: 000001DB50755020",
        ["asCx"] = "function: 000001DB50756370",
        ["equals"] = "function: 000001DB540908A0",
        ["dump"] = "function: 000001DB54090960",
        ["getWidgetType"] = "function: 000001DB507501C0",
        ["asRawValue"] = "function: 000001DB50755E00",
      },
      ["PeripheralSyncMode"] = "disabled",
      ["Pwm"] = {
        [1] = 1.0,
        [2] = 2.0,
        [3] = 3.0,
      },
      ["OutMode"] = {
        [1] = "A",
        [2] = "!A",
      },
      ["CmpShadowMode"] = "both",
      ["carrierFrequency"] = 5000.0,
    },
    ["cmp_shadow_load"] = "zp",
    ["fsw_actual"] = 5000.0,
    ["int_prd"] = 1,
    ["showEnablePort"] = false,
    ["outmode"] = {
      [1] = "A",
      [2] = "!A",
    },
    ["channels"] = {
      [1] = {
        ["prd"] = 7500,
        ["cmp_shadow_load"] = "zp",
        ["fsw_actual"] = 5000.0,
        ["rising_delay_counts"] = 150,
        ["epwm"] = 2.0,
        ["disable_protection"] = false,
        ["dead_time"] = 2e-06,
        ["sequence0"] = {
          ["value"] = 1,
          ["defined_in_aq"] = false,
        },
        ["periodInSysTicks"] = 30000.0,
        ["trip_zone_settings"] = {
          [1] = "osht",
        },
        ["cbx_carrierType"] = {
          ["asString"] = "function: 000001DB50755320",
          ["asCx"] = "function: 000001DB50755DD0",
          ["equals"] = "function: 000001DB54090A20",
          ["dump"] = "function: 000001DB540901E0",
          ["getWidgetType"] = "function: 000001DB507501C0",
          ["asRawValue"] = "function: 000001DB50755D70",
        },
        ["falling_delay_counts"] = 150,
        ["fsw"] = 5000.0,
        ["EPWMi_BASE"] = "EPWM2_BASE",
        ["outMode"] = {
          [1] = "A",
          [2] = "!A",
        },
        ["showEnablePort"] = false,
        ["polarityIsActiveHigh"] = false,
      },
      [2] = {
        ["prd"] = 7500,
        ["cmp_shadow_load"] = "zp",
        ["fsw_actual"] = 5000.0,
        ["rising_delay_counts"] = 150,
        ["epwm"] = 3.0,
        ["disable_protection"] = false,
        ["dead_time"] = 2e-06,
        ["sequence0"] = {
          ["value"] = 1,
          ["defined_in_aq"] = false,
        },
        ["periodInSysTicks"] = 30000.0,
        ["trip_zone_settings"] = {
          [1] = "osht",
        },
        ["cbx_carrierType"] = {
          ["asString"] = "function: 000001DB50755320",
          ["asCx"] = "function: 000001DB50755DD0",
          ["equals"] = "function: 000001DB54090A20",
          ["dump"] = "function: 000001DB540901E0",
          ["getWidgetType"] = "function: 000001DB507501C0",
          ["asRawValue"] = "function: 000001DB50755D70",
        },
        ["falling_delay_counts"] = 150,
        ["fsw"] = 5000.0,
        ["EPWMi_BASE"] = "EPWM3_BASE",
        ["outMode"] = {
          [1] = "A",
          [2] = "!A",
        },
        ["showEnablePort"] = false,
        ["polarityIsActiveHigh"] = false,
      },
      [0] = {
        ["prd"] = 7500,
        ["cmp_shadow_load"] = "zp",
        ["fsw_actual"] = 5000.0,
        ["rising_delay_counts"] = 150,
        ["epwm"] = 1.0,
        ["disable_protection"] = false,
        ["dead_time"] = 2e-06,
        ["sequence0"] = {
          ["value"] = 1,
          ["defined_in_aq"] = false,
        },
        ["periodInSysTicks"] = 30000.0,
        ["trip_zone_settings"] = {
          [1] = "osht",
        },
        ["cbx_carrierType"] = {
          ["asString"] = "function: 000001DB50755320",
          ["asCx"] = "function: 000001DB50755DD0",
          ["equals"] = "function: 000001DB54090A20",
          ["dump"] = "function: 000001DB540901E0",
          ["getWidgetType"] = "function: 000001DB507501C0",
          ["asRawValue"] = "function: 000001DB50755D70",
        },
        ["falling_delay_counts"] = 150,
        ["fsw"] = 5000.0,
        ["EPWMi_BASE"] = "EPWM1_BASE",
        ["outMode"] = {
          [1] = "A",
          [2] = "!A",
        },
        ["showEnablePort"] = false,
        ["polarityIsActiveHigh"] = false,
      },
    },
    ["sequence_defined_in_aq"] = false,
    ["modTrigTs"] = 0.0002,
    ["soc_loc"] = "z",
    ["num_units"] = 3,
    ["int_loc"] = "z",
    ["dead_time_is_variable"] = false,
    ["is_self_synchronized"] = true,
    ["trip_zone_settings"] = {
      [1] = "osht",
    },
    ["adcTrigTs"] = 0.0002,
    ["cbx_carrierType"] = {
      ["asString"] = "function: 000001DB50755320",
      ["asCx"] = "function: 000001DB50755DD0",
      ["equals"] = "function: 000001DB54090A20",
      ["dump"] = "function: 000001DB540901E0",
      ["getWidgetType"] = "function: 000001DB507501C0",
      ["asRawValue"] = "function: 000001DB50755D70",
    },
    ["is_synchronized"] = false,
    ["sync_src_bid"] = 10,
    ["soc_prd"] = 1,
    ["fsw"] = 5000.0,
    ["last_unit"] = 3.0,
    ["const_sequence"] = {
      [1] = 1,
      [2] = 1,
      [3] = 1,
    },
    ["first_channel"] = 0,
    ["polarityIsActiveHigh"] = false,
    ["first_unit"] = 1.0,
    ["dead_time"] = 2e-06,
  },
  [11] = {
    ["prd"] = 7500,
    ["cmp_shadow_load"] = "zp",
    ["fsw_actual"] = 5000.0,
    ["rising_delay_counts"] = 150,
    ["epwm"] = 1.0,
    ["disable_protection"] = false,
    ["dead_time"] = 2e-06,
    ["sequence0"] = {
      ["value"] = 1,
      ["defined_in_aq"] = false,
    },
    ["periodInSysTicks"] = 30000.0,
    ["trip_zone_settings"] = {
      [1] = "osht",
    },
    ["cbx_carrierType"] = {
      ["asString"] = "function: 000001DB50755320",
      ["asCx"] = "function: 000001DB50755DD0",
      ["equals"] = "function: 000001DB54090A20",
      ["dump"] = "function: 000001DB540901E0",
      ["getWidgetType"] = "function: 000001DB507501C0",
      ["asRawValue"] = "function: 000001DB50755D70",
    },
    ["falling_delay_counts"] = 150,
    ["fsw"] = 5000.0,
    ["EPWMi_BASE"] = "EPWM1_BASE",
    ["outMode"] = {
      [1] = "A",
      [2] = "!A",
    },
    ["showEnablePort"] = false,
    ["polarityIsActiveHigh"] = false,
  },
  [12] = {
    ["prd"] = 7500,
    ["cmp_shadow_load"] = "zp",
    ["fsw_actual"] = 5000.0,
    ["rising_delay_counts"] = 150,
    ["epwm"] = 2.0,
    ["disable_protection"] = false,
    ["dead_time"] = 2e-06,
    ["sequence0"] = {
      ["value"] = 1,
      ["defined_in_aq"] = false,
    },
    ["periodInSysTicks"] = 30000.0,
    ["trip_zone_settings"] = {
      [1] = "osht",
    },
    ["cbx_carrierType"] = {
      ["asString"] = "function: 000001DB50755320",
      ["asCx"] = "function: 000001DB50755DD0",
      ["equals"] = "function: 000001DB54090A20",
      ["dump"] = "function: 000001DB540901E0",
      ["getWidgetType"] = "function: 000001DB507501C0",
      ["asRawValue"] = "function: 000001DB50755D70",
    },
    ["falling_delay_counts"] = 150,
    ["fsw"] = 5000.0,
    ["EPWMi_BASE"] = "EPWM2_BASE",
    ["outMode"] = {
      [1] = "A",
      [2] = "!A",
    },
    ["showEnablePort"] = false,
    ["polarityIsActiveHigh"] = false,
  },
  [13] = {
    ["prd"] = 7500,
    ["cmp_shadow_load"] = "zp",
    ["fsw_actual"] = 5000.0,
    ["rising_delay_counts"] = 150,
    ["epwm"] = 3.0,
    ["disable_protection"] = false,
    ["dead_time"] = 2e-06,
    ["sequence0"] = {
      ["value"] = 1,
      ["defined_in_aq"] = false,
    },
    ["periodInSysTicks"] = 30000.0,
    ["trip_zone_settings"] = {
      [1] = "osht",
    },
    ["cbx_carrierType"] = {
      ["asString"] = "function: 000001DB50755320",
      ["asCx"] = "function: 000001DB50755DD0",
      ["equals"] = "function: 000001DB54090A20",
      ["dump"] = "function: 000001DB540901E0",
      ["getWidgetType"] = "function: 000001DB507501C0",
      ["asRawValue"] = "function: 000001DB50755D70",
    },
    ["falling_delay_counts"] = 150,
    ["fsw"] = 5000.0,
    ["EPWMi_BASE"] = "EPWM3_BASE",
    ["outMode"] = {
      [1] = "A",
      [2] = "!A",
    },
    ["showEnablePort"] = false,
    ["polarityIsActiveHigh"] = false,
  },
  [14] = {
    ["gpio"] = {
      [1] = 22.0,
      [2] = 14.0,
      [3] = 15.0,
      [4] = 26.0,
      [5] = 27.0,
      [0] = 48.0,
    },
    ["cbx_pullType"] = {
      ["asString"] = "function: 000001DB5075B9B0",
      ["asCx"] = "function: 000001DB5075BF50",
      ["equals"] = "function: 000001DB41B29410",
      ["dump"] = "function: 000001DB41B29590",
      ["getWidgetType"] = "function: 000001DB507501C0",
      ["asRawValue"] = "function: 000001DB5075BBC0",
    },
  },
  [15] = {
    ["gpio"] = {
      [1] = 59.0,
      [2] = 34.0,
      [3] = 63.0,
      [4] = 10.0,
      [5] = 11.0,
      [6] = 6.0,
      [7] = 7.0,
      [8] = 8.0,
      [9] = 9.0,
      [10] = 60.0,
      [11] = 61.0,
      [0] = 13.0,
    },
    ["cbx_outputType"] = {
      ["asString"] = "function: 000001DB5288C630",
      ["asCx"] = "function: 000001DB5288CF00",
      ["equals"] = "function: 000001DB598E7C70",
      ["dump"] = "function: 000001DB598E7A70",
      ["getWidgetType"] = "function: 000001DB507501C0",
      ["asRawValue"] = "function: 000001DB5288C660",
    },
  },
  [16] = {
    ["pin_set_string"] = "[A=GPIO20, B=GPIO21, I=GPIO23]",
    ["reset_on_index"] = false,
    ["configureWithPinsArgs"] = {
      ["pin_a"] = 20.0,
      ["pin_i"] = 23.0,
      ["unit"] = 1.0,
      ["instance"] = 0,
      ["pin_b"] = 21.0,
    },
    ["qep"] = 1.0,
    ["prd"] = 4095.0,
  },
  [17] = {
    ["frequency"] = 10000.0,
    ["period"] = 7500,
    ["adctrig"] = {
      [1] = {
        ["is_cla_trigger"] = false,
        ["downstreamConnectionsPropagated"] = true,
        ["maxACQPS"] = 0,
        ["adcLetter"] = "A",
        ["adcUnitAsInt"] = 0.0,
        ["trigExpression"] = "{adctrig={bid=17}}",
        ["trigsel"] = 1,
        ["sigmodeDifferential"] = false,
        ["trig"] = <cyclic reference>,
        ["ts"] = 0.0001,
        ["modtrig"] = {
          [1] = {
            ["trig_base_task_exp"] = "{modtrig = {bid = 17}}",
            ["trigExpression"] = "{modtrig={bid=7}}",
            ["ts"] = 0.0001,
          },
        },
        ["is_mod_trigger"] = true,
        ["trig_base_task_exp"] = "{adctrig = {bid = 17}}",
        ["totalConversionTimeInAcqps"] = 0,
        ["num_channels"] = 9,
        ["channels"] = {
          [1] = {
            ["input"] = 0.0,
            ["offset"] = -42.3,
            ["ACQPS"] = 0,
            ["scale"] = 28.2,
          },
          [2] = {
            ["input"] = 1.0,
            ["offset"] = -42.3,
            ["ACQPS"] = 0,
            ["scale"] = 28.2,
          },
          [3] = {
            ["input"] = 2.0,
            ["offset"] = -42.3,
            ["ACQPS"] = 0,
            ["scale"] = 28.2,
          },
          [4] = {
            ["input"] = 3.0,
            ["offset"] = 0.0,
            ["ACQPS"] = 0,
            ["scale"] = 266.66666666667,
          },
          [5] = {
            ["input"] = 14.0,
            ["offset"] = 0.0,
            ["ACQPS"] = 0,
            ["scale"] = 266.66666666667,
          },
          [6] = {
            ["input"] = 4.0,
            ["offset"] = 0.0,
            ["ACQPS"] = 0,
            ["scale"] = 1.0,
          },
          [7] = {
            ["input"] = 12.0,
            ["offset"] = -10.0,
            ["ACQPS"] = 0,
            ["scale"] = 6.6666666666667,
          },
          [8] = {
            ["input"] = 13.0,
            ["offset"] = -10.0,
            ["ACQPS"] = 0,
            ["scale"] = 6.6666666666667,
          },
          [9] = {
            ["input"] = 7.0,
            ["offset"] = 0.0,
            ["ACQPS"] = 0,
            ["scale"] = 1.0,
          },
        },
      },
    },
    ["unit"] = 0,
  },
  [18] = {
    ["spi"] = 0.0,
    ["spi_instance"] = 0,
    ["spi_obj"] = {
      ["spi"] = 0.0,
      ["pinset_string"] = "GPIO16_GPIO17_GPIO18",
      ["phase"] = true,
      ["controllerperipheral"] = true,
      ["pol"] = true,
      ["baudrate"] = 6250000.0,
      ["charlen"] = 16.0,
      ["pinset"] = 10,
      ["spi_letter"] = "A",
    },
  },
  [19] = {
    ["spi"] = 0.0,
    ["pinset_string"] = "GPIO16_GPIO17_GPIO18",
    ["phase"] = true,
    ["controllerperipheral"] = true,
    ["pol"] = true,
    ["baudrate"] = 6250000.0,
    ["charlen"] = 16.0,
    ["pinset"] = 10,
    ["spi_letter"] = "A",
  },
  [20] = {
    ["gpio"] = {
      [12] = 19.0,
    },
    ["cbx_outputType"] = {
      ["asString"] = "function: 000001DB4D0A06A0",
      ["asCx"] = "function: 000001DB4D0A0DC0",
      ["equals"] = "function: 000001DB5076B8E0",
      ["dump"] = "function: 000001DB5076BC60",
      ["getWidgetType"] = "function: 000001DB507501C0",
      ["asRawValue"] = "function: 000001DB4D0A0CD0",
    },
  },
  [21] = {
    ["mask"] = {
      ["gpio"] = {
        [1] = 30.0,
        [2] = 31.0,
      },
      ["autoBusOn"] = true,
      ["baudRate"] = 250000.0,
      ["samplePoint"] = 0.6,
    },
    ["canUnitAsInt"] = 0.0,
    ["canUnitAsChar"] = "A",
    ["canInstance"] = 0,
    ["canObj"] = {
      ["gpio"] = {
        [1] = 30.0,
        [2] = 31.0,
      },
      ["numMailboxes"] = 2,
      ["isConfigured"] = true,
      ["bt"] = {
        ["samplePoint"] = 0.6,
        ["sjw"] = 4,
        ["tseg1"] = 8,
        ["tseg2"] = 6,
        ["baud"] = 250000.0,
        ["brp"] = 20,
      },
      ["canUnitAsInt"] = 0.0,
      ["canUnitAsChar"] = "A",
      ["autoBusOn"] = true,
      ["pinset"] = 0,
      ["mailboxes"] = {
        [1] = {
          ["width"] = 8.0,
          ["isTx"] = false,
          ["isExtId"] = false,
          ["canId"] = 5.0,
        },
        [0] = {
          ["width"] = 8,
          ["isTx"] = true,
          ["isExtId"] = false,
          ["canId"] = 4,
        },
      },
    },
  },
  [22] = {
    ["gpio"] = {
      [1] = 30.0,
      [2] = 31.0,
    },
    ["numMailboxes"] = 2,
    ["isConfigured"] = true,
    ["bt"] = {
      ["samplePoint"] = 0.6,
      ["sjw"] = 4,
      ["tseg1"] = 8,
      ["tseg2"] = 6,
      ["baud"] = 250000.0,
      ["brp"] = 20,
    },
    ["canUnitAsInt"] = 0.0,
    ["canUnitAsChar"] = "A",
    ["autoBusOn"] = true,
    ["pinset"] = 0,
    ["mailboxes"] = {
      [1] = {
        ["width"] = 8.0,
        ["isTx"] = false,
        ["isExtId"] = false,
        ["canId"] = 5.0,
      },
      [0] = {
        ["width"] = 8,
        ["isTx"] = true,
        ["isExtId"] = false,
        ["canId"] = 4,
      },
    },
  },
  [23] = {
    ["isExtId"] = false,
    ["canObj"] = {
      ["gpio"] = {
        [1] = 30.0,
        [2] = 31.0,
      },
      ["numMailboxes"] = 2,
      ["isConfigured"] = true,
      ["bt"] = {
        ["samplePoint"] = 0.6,
        ["sjw"] = 4,
        ["tseg1"] = 8,
        ["tseg2"] = 6,
        ["baud"] = 250000.0,
        ["brp"] = 20,
      },
      ["canUnitAsInt"] = 0.0,
      ["canUnitAsChar"] = "A",
      ["autoBusOn"] = true,
      ["pinset"] = 0,
      ["mailboxes"] = {
        [1] = {
          ["width"] = 8.0,
          ["isTx"] = false,
          ["isExtId"] = false,
          ["canId"] = 5.0,
        },
        [0] = {
          ["width"] = 8,
          ["isTx"] = true,
          ["isExtId"] = false,
          ["canId"] = 4,
        },
      },
    },
    ["canInstance"] = 0,
    ["canId"] = 4,
    ["width"] = 8,
    ["cbx_execution"] = {
      ["asString"] = "function: 000001DB53C93200",
      ["asCx"] = "function: 000001DB53C93AA0",
      ["equals"] = "function: 000001DB424684A0",
      ["dump"] = "function: 000001DB42468C20",
      ["getWidgetType"] = "function: 000001DB507501C0",
      ["asRawValue"] = "function: 000001DB53C93A70",
    },
    ["canUnitAsInt"] = 0.0,
    ["canUnitAsChar"] = "A",
    ["mbox"] = 0,
  },
  [24] = {
    ["mbox"] = 1,
    ["isExtId"] = false,
    ["canInstance"] = 0,
    ["canUnitAsInt"] = 0.0,
    ["canUnitAsChar"] = "A",
    ["canId"] = 5.0,
    ["canObj"] = {
      ["gpio"] = {
        [1] = 30.0,
        [2] = 31.0,
      },
      ["numMailboxes"] = 2,
      ["isConfigured"] = true,
      ["bt"] = {
        ["samplePoint"] = 0.6,
        ["sjw"] = 4,
        ["tseg1"] = 8,
        ["tseg2"] = 6,
        ["baud"] = 250000.0,
        ["brp"] = 20,
      },
      ["canUnitAsInt"] = 0.0,
      ["canUnitAsChar"] = "A",
      ["autoBusOn"] = true,
      ["pinset"] = 0,
      ["mailboxes"] = {
        [1] = {
          ["width"] = 8.0,
          ["isTx"] = false,
          ["isExtId"] = false,
          ["canId"] = 5.0,
        },
        [0] = {
          ["width"] = 8,
          ["isTx"] = true,
          ["isExtId"] = false,
          ["canId"] = 4,
        },
      },
    },
    ["msgWidth"] = 8.0,
  },
  [25] = {
    ["trig_base_task_exp"] = "{modtrig = {bid = 17}}",
    ["trigExpression"] = "{modtrig={bid=7}}",
    ["ts"] = 0.0001,
  },
  [26] = {
    ["isrSourceBlockBid"] = 7,
    ["isrEnableCode"] = "IER |= M_INT1;",
    ["isrExp"] = "          interrupt void DSP_2_MOT_baseTaskInterrupt(void)
          {
                  PieCtrlRegs.PIEACK.all = PIEACK_GROUP1;
      IER |= M_INT1;
      if (CpuTimer0Regs.TCR.bit.TIF == 1)
      {
        CpuTimer0Regs.TCR.bit.TIF = 1;  // clear interrupt flag
        AdcRegs.ADCTRL2.bit.SOC_SEQ1 = 1; // trigger ADC by software
        // don't dispatch yet - wait for ADC interrupt
        return;
      }
      else
      {
         AdcRegs.ADCST.bit.INT_SEQ1_CLR = 1; // clear interrupt flag
         AdcRegs.ADCTRL2.bit.RST_SEQ1 = 1; // reset sequencer
      }
   
            DISPR_dispatch();
          }
          ",
  },
}


Target settings: {
  ["SerialNumber"] = "",
  ["EXTERNAL_MODE"] = 1.0,
  ["TARGET_ROOT"] = "C:/Users/gaiap/Documents/Plexim/Coder_Targets/tsp_ti_c2000",
  ["installDir"] = "C:/Users/gaiap/Desktop/Exercise_0_Skeleton\",
  ["HOST_ARCH"] = "64",
  ["HOST_OS"] = "win",
  ["FLOAT_TYPE"] = "float",
  ["SerialNumberSpecified"] = "0",
  ["buildConfig"] = 2.0,
  ["Tz3Enable"] = 0.0,
  ["extModeBufferSize"] = 1000.0,
  ["TARGET_DEVICE"] = "1|MO8ISFHPC|0|0",
  ["LinkerCommandFile"] = "C:/Users/gaiap/Desktop/Exercise_0_Skeleton\",
  ["Tz1Gpio"] = 12.0,
  ["Tz1Enable"] = 1.0,
  ["vrefDropDown"] = 1.0,
  ["extClkMHz"] = 30.0,
  ["sysClkMHz"] = 150.0,
  ["USE_DATA_TYPES_FOR_TUNABLE_PARAMETERS"] = 1.0,
  ["SAMPLE_TIME"] = 0.0001,
  ["Tz2Gpio"] = "0",
  ["Tz2Enable"] = 0.0,
  ["BASE_NAME"] = "DSP_2_MOT",
  ["PLECS_VERSION"] = "4.9.2",
  ["SampleTimeRelTol"] = "10",
  ["board"] = 1.0,
  ["extModeSciPins"] = {
    [1] = 28.0,
    [2] = 29.0,
  },
  ["Tz3Gpio"] = "0",
  ["genOnly"] = 2.0,
  ["BUILD_ROOT"] = "C:/Users/gaiap/Desktop/Exercise_0_Skeleton\Exercise_0_Skeleton_codegen",
  ["taskFreqTol"] = 1.0,
  ["USE_START_TIME_IN_INIT_FCN"] = 0.0,
  ["uniflashFile"] = "C:/Users/gaiap/Desktop/Exercise_0_Skeleton\TMS320F28335.ccxml",
  ["chip"] = 1.0,
  ["NUM_CPUS"] = 1.0,
}
