@mchp-mcc/clock-16bit-driver 1.1.1 → 1.2.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -6455,28 +6455,65 @@ var MyDerivedData = function MyDerivedData(dataModel) {
6455
6455
  requestedRefClockOutputFrequency_HzValidator: _this.requestedRefClockOutputFrequency_HzValidator,
6456
6456
  getCustomUiErrors: _this.getCustomUiErrors,
6457
6457
  "clock-16bit-drv-interface_payloads": _this.getClockApplicationInterfacePayload,
6458
+ "clock-16bit-drv-interface_payload": _this.getDefaultClockApplicationInterfacePayload,
6458
6459
  importName: _this.friendlyImportName,
6459
6460
  exportName: _this.friendlyExportName
6460
6461
  };
6461
6462
  });
6462
6463
 
6464
+ _defineProperty(this, "getFamilyName", function () {
6465
+ var _this$dataModel, _this$dataModel$getIm, _this$dataModel$getIm2;
6466
+
6467
+ var deviceFamilyName = "";
6468
+ var deviceMetaData = (_this$dataModel = _this.dataModel) === null || _this$dataModel === void 0 ? void 0 : (_this$dataModel$getIm = _this$dataModel.getImports()) === null || _this$dataModel$getIm === void 0 ? void 0 : (_this$dataModel$getIm2 = _this$dataModel$getIm.device_meta) === null || _this$dataModel$getIm2 === void 0 ? void 0 : _this$dataModel$getIm2.payload;
6469
+
6470
+ if (deviceMetaData) {
6471
+ deviceFamilyName = deviceMetaData === null || deviceMetaData === void 0 ? void 0 : deviceMetaData.familyName;
6472
+ }
6473
+
6474
+ return deviceFamilyName;
6475
+ });
6476
+
6477
+ _defineProperty(this, "isSecondaryDevice", function () {
6478
+ var _this$getModel$getImp, _this$getModel, _this$getModel$getImp2, _this$getModel$getImp3, _this$getModel$getImp4;
6479
+
6480
+ var deviceFamilyName = _this.getFamilyName();
6481
+
6482
+ var hasSecondaryCoreFlashSupport = (_this$getModel$getImp = (_this$getModel = _this.getModel()) === null || _this$getModel === void 0 ? void 0 : (_this$getModel$getImp2 = _this$getModel.getImports()) === null || _this$getModel$getImp2 === void 0 ? void 0 : (_this$getModel$getImp3 = _this$getModel$getImp2.device_meta) === null || _this$getModel$getImp3 === void 0 ? void 0 : (_this$getModel$getImp4 = _this$getModel$getImp3.payload) === null || _this$getModel$getImp4 === void 0 ? void 0 : _this$getModel$getImp4.hasSecondaryCoreFlashSupport) !== null && _this$getModel$getImp !== void 0 ? _this$getModel$getImp : false;
6483
+ /*
6484
+ Device name ends with "S" followed by a digit.
6485
+ The second part of the condition is for devices like Centaurus which have their inidividual flash.
6486
+ */
6487
+
6488
+ if (deviceFamilyName.match(/S\d$/) && !hasSecondaryCoreFlashSupport) {
6489
+ return true;
6490
+ }
6491
+
6492
+ return false;
6493
+ });
6494
+
6463
6495
  _defineProperty(this, "isComponentEnabled", function (componentName) {
6464
6496
  var isComponentEnabled = false;
6465
6497
 
6466
6498
  if (componentName === COMPONENT_REF_CLOCK_SOURCE || componentName === COMPONENT_REQUESTED_REF_CLOCK_OUTPUT_FREQUENCY) {
6467
- var _this$dataModel;
6499
+ var _this$dataModel2;
6468
6500
 
6469
- if (((_this$dataModel = _this.dataModel) === null || _this$dataModel === void 0 ? void 0 : _this$dataModel.getComponentValue(COMPONENT_REF_CLOCK_ENABLE)) === true) {
6501
+ if (((_this$dataModel2 = _this.dataModel) === null || _this$dataModel2 === void 0 ? void 0 : _this$dataModel2.getComponentValue(COMPONENT_REF_CLOCK_ENABLE)) === true) {
6470
6502
  isComponentEnabled = true;
6471
6503
  }
6472
6504
  } else if (componentName === COMPONENT_REF_CLOCK_ENABLE || componentName === COMPONENT_MAIN_CLOCK_SOURCE || componentName === COMPONENT_MAIN_CLOCK_INPUT_FREQUENCY || componentName === COMPONENT_SET_MAX_FREQUENCY || componentName === COMPONENT_FVCO_DIVIDER || componentName === COMPONENT_AUX_CLOCK_SOURCE || componentName === COMPONENT_CANFD_CLOCK_SOURCE || componentName === COMPONENT_AFVCO_DIVIDER || componentName === COMPONENT_AUX_CLOCK_INPUT_FREQUENCY || componentName === COMPONENT_REQUESTED_AUX_CLOCK_OUTPUT_FREQUENCY) {
6473
6505
  isComponentEnabled = true;
6474
6506
  } else if (componentName === COMPONENT_REQUESTED_SYSTEM_FREQUENCY) {
6475
- var _this$dataModel2;
6507
+ var _this$dataModel3;
6476
6508
 
6477
- if (((_this$dataModel2 = _this.dataModel) === null || _this$dataModel2 === void 0 ? void 0 : _this$dataModel2.getComponentValue(COMPONENT_SET_MAX_FREQUENCY)) === false) {
6509
+ if (((_this$dataModel3 = _this.dataModel) === null || _this$dataModel3 === void 0 ? void 0 : _this$dataModel3.getComponentValue(COMPONENT_SET_MAX_FREQUENCY)) === false) {
6478
6510
  isComponentEnabled = true;
6479
6511
  }
6512
+ } // Checking whether Secondary Device of Dual Core is being used
6513
+
6514
+
6515
+ if (componentName === COMPONENT_MAIN_CLOCK_SOURCE && _this.isSecondaryDevice()) {
6516
+ isComponentEnabled = false;
6480
6517
  }
6481
6518
 
6482
6519
  return isComponentEnabled;
@@ -6594,19 +6631,19 @@ var MyDerivedData = function MyDerivedData(dataModel) {
6594
6631
  });
6595
6632
 
6596
6633
  _defineProperty(this, "getMaxSystemClockFrequency", function () {
6597
- var _this$dataModel3, _this$dataModel4;
6634
+ var _this$dataModel4, _this$dataModel5;
6598
6635
 
6599
6636
  var maxSystemClockFrequency = 0;
6600
6637
 
6601
6638
  var interfaceData = _this.dataModel.getImportValue(CLOCK_16BIT_CONFIG_INTERFACE);
6602
6639
 
6603
- if (interfaceData != undefined && ((_this$dataModel3 = _this.dataModel) === null || _this$dataModel3 === void 0 ? void 0 : _this$dataModel3.getComponentValue("mainClockSource")) != "FRC Oscillator with Postscaler") {
6640
+ if (interfaceData != undefined && ((_this$dataModel4 = _this.dataModel) === null || _this$dataModel4 === void 0 ? void 0 : _this$dataModel4.getComponentValue("mainClockSource")) != "FRC Oscillator with Postscaler") {
6604
6641
  var _interfaceData$mainCl5, _interfaceData$mainCl6;
6605
6642
 
6606
6643
  maxSystemClockFrequency = (_interfaceData$mainCl5 = interfaceData === null || interfaceData === void 0 ? void 0 : (_interfaceData$mainCl6 = interfaceData.mainClockPayload) === null || _interfaceData$mainCl6 === void 0 ? void 0 : _interfaceData$mainCl6.maxSystemClockFrequency) !== null && _interfaceData$mainCl5 !== void 0 ? _interfaceData$mainCl5 : 0;
6607
6644
  }
6608
6645
 
6609
- if (((_this$dataModel4 = _this.dataModel) === null || _this$dataModel4 === void 0 ? void 0 : _this$dataModel4.getComponentValue("mainClockSource")) == "FRC Oscillator with Postscaler") {
6646
+ if (((_this$dataModel5 = _this.dataModel) === null || _this$dataModel5 === void 0 ? void 0 : _this$dataModel5.getComponentValue("mainClockSource")) == "FRC Oscillator with Postscaler") {
6610
6647
  if (_this.getClockPropertiesFromPayLoad()["FRC_CLOCK"] != undefined) {
6611
6648
  var _this$getClockPropert;
6612
6649
 
@@ -6629,6 +6666,13 @@ var MyDerivedData = function MyDerivedData(dataModel) {
6629
6666
  uiBehavior = _defineProperty({}, "ui:help", "CAN FD clock source frequency should be less than or equal to 640 MHz");
6630
6667
  break;
6631
6668
 
6669
+ case COMPONENT_MAIN_CLOCK_SOURCE:
6670
+ if (_this.shouldShowSecDeviceNotif()) {
6671
+ uiBehavior = _defineProperty({}, "ui:help", "Ensure to select ".concat(_this.dataModel.getComponentValue(COMPONENT_MAIN_CLOCK_SOURCE), " as part of Main Device also"));
6672
+ }
6673
+
6674
+ break;
6675
+
6632
6676
  default:
6633
6677
  break;
6634
6678
  }
@@ -6695,11 +6739,11 @@ var MyDerivedData = function MyDerivedData(dataModel) {
6695
6739
  });
6696
6740
 
6697
6741
  _defineProperty(this, "isRequestedSystemFrequencyVisible", function () {
6698
- var _this$dataModel5;
6742
+ var _this$dataModel6;
6699
6743
 
6700
6744
  var visible = false;
6701
6745
 
6702
- if (((_this$dataModel5 = _this.dataModel) === null || _this$dataModel5 === void 0 ? void 0 : _this$dataModel5.getComponentValue(COMPONENT_SET_MAX_FREQUENCY)) === false) {
6746
+ if (((_this$dataModel6 = _this.dataModel) === null || _this$dataModel6 === void 0 ? void 0 : _this$dataModel6.getComponentValue(COMPONENT_SET_MAX_FREQUENCY)) === false) {
6703
6747
  var mainClockSource = _this.dataModel.getComponentValue(COMPONENT_MAIN_CLOCK_SOURCE);
6704
6748
 
6705
6749
  if (mainClockSource != undefined) {
@@ -6785,16 +6829,16 @@ var MyDerivedData = function MyDerivedData(dataModel) {
6785
6829
  });
6786
6830
 
6787
6831
  _defineProperty(this, "getMyAlerts", function () {
6788
- var _this$dataModel7;
6832
+ var _this$dataModel8;
6789
6833
 
6790
6834
  var alerts = [];
6791
6835
 
6792
6836
  if (_this.isCanfdClockSupported() && _this.getCanfdClockRequestList()) {
6793
- var _this$dataModel6;
6837
+ var _this$dataModel7;
6794
6838
 
6795
6839
  var canfdClockSource = _this.dataModel.getComponentValue(COMPONENT_CANFD_CLOCK_SOURCE);
6796
6840
 
6797
- var calculatedCanFdClockSrcFreq = (_this$dataModel6 = _this.dataModel) === null || _this$dataModel6 === void 0 ? void 0 : _this$dataModel6.getComponentValue("calculatedCanfdOutputFrequency_Hz");
6841
+ var calculatedCanFdClockSrcFreq = (_this$dataModel7 = _this.dataModel) === null || _this$dataModel7 === void 0 ? void 0 : _this$dataModel7.getComponentValue("calculatedCanfdOutputFrequency_Hz");
6798
6842
 
6799
6843
  if (calculatedCanFdClockSrcFreq && calculatedCanFdClockSrcFreq != "0.00 kHz") {
6800
6844
  var canClkFreqVal = _this.getCalculatedCanfdOutputFrequency_Hz();
@@ -6830,10 +6874,10 @@ var MyDerivedData = function MyDerivedData(dataModel) {
6830
6874
  }
6831
6875
  }
6832
6876
 
6833
- if ((_this$dataModel7 = _this.dataModel) === null || _this$dataModel7 === void 0 ? void 0 : _this$dataModel7.getComponentValue(COMPONENT_SET_MAX_FREQUENCY)) {
6834
- var _this$dataModel8;
6877
+ if ((_this$dataModel8 = _this.dataModel) === null || _this$dataModel8 === void 0 ? void 0 : _this$dataModel8.getComponentValue(COMPONENT_SET_MAX_FREQUENCY)) {
6878
+ var _this$dataModel9;
6835
6879
 
6836
- var mainClockSource = (_this$dataModel8 = _this.dataModel) === null || _this$dataModel8 === void 0 ? void 0 : _this$dataModel8.getComponentValue(COMPONENT_MAIN_CLOCK_SOURCE);
6880
+ var mainClockSource = (_this$dataModel9 = _this.dataModel) === null || _this$dataModel9 === void 0 ? void 0 : _this$dataModel9.getComponentValue(COMPONENT_MAIN_CLOCK_SOURCE);
6837
6881
 
6838
6882
  if (mainClockSource != undefined && (mainClockSource === null || mainClockSource === void 0 ? void 0 : mainClockSource.indexOf(PLL)) < 0) {
6839
6883
  alerts.push({
@@ -6843,9 +6887,32 @@ var MyDerivedData = function MyDerivedData(dataModel) {
6843
6887
  }
6844
6888
  }
6845
6889
 
6890
+ if (_this.shouldShowSecDeviceNotif()) {
6891
+ var _this$dataModel10, _this$dataModel11;
6892
+
6893
+ alerts.push({
6894
+ type: _microchip_scf_common_lib_Processor__WEBPACK_IMPORTED_MODULE_0__["AlertTypes"].Hint,
6895
+ text: "Ensure to select ".concat((_this$dataModel10 = _this.dataModel) === null || _this$dataModel10 === void 0 ? void 0 : _this$dataModel10.getComponentValue(COMPONENT_MAIN_CLOCK_SOURCE), " as clock source for the Main Device with frequency ").concat((_this$dataModel11 = _this.dataModel) === null || _this$dataModel11 === void 0 ? void 0 : _this$dataModel11.getComponentValue(COMPONENT_MAIN_CLOCK_INPUT_FREQUENCY), "Hz")
6896
+ });
6897
+ }
6898
+
6846
6899
  return alerts;
6847
6900
  });
6848
6901
 
6902
+ _defineProperty(this, "shouldShowSecDeviceNotif", function () {
6903
+ var deviceFamilyName = _this.getFamilyName();
6904
+
6905
+ if (deviceFamilyName.match(/S\d$/)) {
6906
+ var _this$dataModel12, _this$dataModel13, _this$dataModel14, _this$dataModel15;
6907
+
6908
+ if (((_this$dataModel12 = _this.dataModel) === null || _this$dataModel12 === void 0 ? void 0 : _this$dataModel12.getComponentValue(COMPONENT_MAIN_CLOCK_SOURCE)) === "Primary Oscillator" || ((_this$dataModel13 = _this.dataModel) === null || _this$dataModel13 === void 0 ? void 0 : _this$dataModel13.getComponentValue(COMPONENT_MAIN_CLOCK_SOURCE)) === "Primary Oscillator with PLL" || ((_this$dataModel14 = _this.dataModel) === null || _this$dataModel14 === void 0 ? void 0 : _this$dataModel14.getComponentValue(COMPONENT_MAIN_CLOCK_SOURCE)) === "External Oscillator" || ((_this$dataModel15 = _this.dataModel) === null || _this$dataModel15 === void 0 ? void 0 : _this$dataModel15.getComponentValue(COMPONENT_MAIN_CLOCK_SOURCE)) === "External Oscillator with PLL") {
6909
+ return true;
6910
+ }
6911
+ }
6912
+
6913
+ return false;
6914
+ });
6915
+
6849
6916
  _defineProperty(this, "calculatedFunction", function () {
6850
6917
  return;
6851
6918
  });
@@ -7437,9 +7504,9 @@ var MyDerivedData = function MyDerivedData(dataModel) {
7437
7504
  });
7438
7505
 
7439
7506
  _defineProperty(this, "canfdClockArg", function () {
7440
- var _this$dataModel$getSt, _this$dataModel9, _this$dataModel9$getS, _this$dataModel9$getS2, _this$dataModel9$getS3;
7507
+ var _this$dataModel$getSt, _this$dataModel16, _this$dataModel16$get, _this$dataModel16$get2, _this$dataModel16$get3;
7441
7508
 
7442
- var canClock = (_this$dataModel$getSt = (_this$dataModel9 = _this.dataModel) === null || _this$dataModel9 === void 0 ? void 0 : (_this$dataModel9$getS = _this$dataModel9.getState()) === null || _this$dataModel9$getS === void 0 ? void 0 : (_this$dataModel9$getS2 = _this$dataModel9$getS.main) === null || _this$dataModel9$getS2 === void 0 ? void 0 : (_this$dataModel9$getS3 = _this$dataModel9$getS2.canfdClock) === null || _this$dataModel9$getS3 === void 0 ? void 0 : _this$dataModel9$getS3.canfdClockSource) !== null && _this$dataModel$getSt !== void 0 ? _this$dataModel$getSt : "FVCO/4";
7509
+ var canClock = (_this$dataModel$getSt = (_this$dataModel16 = _this.dataModel) === null || _this$dataModel16 === void 0 ? void 0 : (_this$dataModel16$get = _this$dataModel16.getState()) === null || _this$dataModel16$get === void 0 ? void 0 : (_this$dataModel16$get2 = _this$dataModel16$get.main) === null || _this$dataModel16$get2 === void 0 ? void 0 : (_this$dataModel16$get3 = _this$dataModel16$get2.canfdClock) === null || _this$dataModel16$get3 === void 0 ? void 0 : _this$dataModel16$get3.canfdClockSource) !== null && _this$dataModel$getSt !== void 0 ? _this$dataModel$getSt : "FVCO/4";
7443
7510
  return {
7444
7511
  canfdClockSource: canClock,
7445
7512
  requestedCanfdClockOutputFrequency_Hz: _this.getRequestedCanfdClockFreq()
@@ -7451,10 +7518,10 @@ var MyDerivedData = function MyDerivedData(dataModel) {
7451
7518
  });
7452
7519
 
7453
7520
  _defineProperty(this, "getCanfdClockSrcFreq", function () {
7454
- var _this$dataModel10, _this$dataModel10$get, _this$dataModel$getCo, _this$dataModel11;
7521
+ var _this$dataModel17, _this$dataModel17$get, _this$dataModel$getCo, _this$dataModel18;
7455
7522
 
7456
- var interfaceData = (_this$dataModel10 = _this.dataModel) === null || _this$dataModel10 === void 0 ? void 0 : (_this$dataModel10$get = _this$dataModel10.getImportValue("clock_16bit_config_interface")) === null || _this$dataModel10$get === void 0 ? void 0 : _this$dataModel10$get.componentFrequenciesPayload;
7457
- var canClkSrc = (_this$dataModel$getCo = (_this$dataModel11 = _this.dataModel) === null || _this$dataModel11 === void 0 ? void 0 : _this$dataModel11.getComponentValue("canfdClockSource")) !== null && _this$dataModel$getCo !== void 0 ? _this$dataModel$getCo : "FVCO/4";
7523
+ var interfaceData = (_this$dataModel17 = _this.dataModel) === null || _this$dataModel17 === void 0 ? void 0 : (_this$dataModel17$get = _this$dataModel17.getImportValue("clock_16bit_config_interface")) === null || _this$dataModel17$get === void 0 ? void 0 : _this$dataModel17$get.componentFrequenciesPayload;
7524
+ var canClkSrc = (_this$dataModel$getCo = (_this$dataModel18 = _this.dataModel) === null || _this$dataModel18 === void 0 ? void 0 : _this$dataModel18.getComponentValue("canfdClockSource")) !== null && _this$dataModel$getCo !== void 0 ? _this$dataModel$getCo : "FVCO/4";
7458
7525
  var canClkFreq = Object(_Util__WEBPACK_IMPORTED_MODULE_3__["getCanfdClockFrequency"])(canClkSrc, interfaceData);
7459
7526
  return Object(_Util__WEBPACK_IMPORTED_MODULE_3__["getCanClkDivFreq"])(canClkSrc, canClkFreq);
7460
7527
  });
@@ -7628,6 +7695,25 @@ var MyDerivedData = function MyDerivedData(dataModel) {
7628
7695
  return clockApplicationInterfacePayloads;
7629
7696
  });
7630
7697
 
7698
+ _defineProperty(this, "getDefaultClockApplicationInterfacePayload", function () {
7699
+ var interfaceData = _this.dataModel.getImportValue(CLOCK_16BIT_CONFIG_INTERFACE);
7700
+
7701
+ if (interfaceData != undefined) {
7702
+ return {
7703
+ mainClockPayload: interfaceData.mainClockPayload,
7704
+ hasUSB: interfaceData.hasUSB,
7705
+ hasAuxClock: interfaceData.hasAuxClock,
7706
+ hasRefClock: interfaceData.hasRefClock,
7707
+ hasCanfdClock: interfaceData.hasCanfdClock,
7708
+ hasSecondaryOscillator: interfaceData.hasSecondaryOscillator,
7709
+ isSecondaryOscillatorEnabled: interfaceData.isSecondaryOscillatorEnabled,
7710
+ auxClockPayload: interfaceData.auxClockPayload,
7711
+ refClockPayload: interfaceData.refClockPayload,
7712
+ canfdClockPayload: interfaceData.canfdClockPayload
7713
+ };
7714
+ }
7715
+ });
7716
+
7631
7717
  _defineProperty(this, "friendlyExportName", function (exportKey) {
7632
7718
  var exportName;
7633
7719
 
@@ -7789,7 +7875,7 @@ var getCanClkDivFreq = function getCanClkDivFreq(canfdClockSource, clkSrcfreq) {
7789
7875
  /*! exports provided: moduleName, deviceType, booleanValues, help, UIGroups, UIOrder, tabs, imports, exports, softwareData, default */
7790
7876
  /***/ (function(module) {
7791
7877
 
7792
- module.exports = JSON.parse("{\"moduleName\":\"Clock\",\"deviceType\":\"PIC\",\"booleanValues\":{\"true\":\"enabled\",\"false\":\"disabled\"},\"help\":{\"url\":\"v2/keyword-lookup?keyword=CLOCK_16BIT_MELODY_DRIVER&version=latest&redirect=true\",\"tooltip\":\"Click here to open documentation\"},\"UIGroups\":{\"systemClock\":\"System Clock\",\"auxClock\":\"Auxiliary Clock\",\"refClock\":\"Reference Clock\",\"canfdClock\":\"CAN FD Clock\"},\"UIOrder\":{\"systemClock\":[\"*\"],\"auxClock\":[\"*\"],\"refClock\":[\"*\"],\"canfdClock\":[\"*\"]},\"tabs\":{\"main\":\"Easy View\"},\"imports\":{\"clock_16bit_config_interface\":{\"nodeModule\":{\"importName\":\"clock_16bit_config_interface\",\"node\":\"@microchip/clock-16bit-config-interface\"},\"import\":{\"interfaceId\":{\"name\":\"clock-16bit-config-interface\",\"version\":\"^1.1.5\"},\"isRequired\":true}}},\"exports\":{\"canfd_clock\":{\"interfaces\":[{\"interfaceId\":{\"name\":\"canfd-clock-interface\",\"version\":\"1.0.0\"}}]},\"clock_16bit_drv_interface\":{\"interfaces\":[{\"interfaceId\":{\"name\":\"clock-16bit-drv-interface\",\"version\":\"1.0.0\"}}]}},\"softwareData\":{\"mainClockSource\":{\"name\":\"mainClockSource\",\"description\":\"System Clock Source\",\"type\":\"ComboBox\",\"defaultValue\":{\"value\":\"FRC Oscillator\",\"options\":[\"FRC Oscillator\",\"FRC Oscillator with Postscaler\",\"FRC Oscillator with PLL\",\"Primary Oscillator\",\"Primary Oscillator with PLL\",\"External Oscillator\",\"External Oscillator with PLL\",\"LPRC Oscillator\"]},\"group\":\"systemClock\",\"tabs\":[\"main\"],\"category\":\"software\"},\"mainClockInputFrequency_Hz\":{\"name\":\"mainClockInputFrequency_Hz\",\"description\":\"Input Frequency(in Hz)\",\"type\":\"number\",\"defaultValue\":8000000,\"group\":\"systemClock\",\"tabs\":[\"main\"],\"validation\":true,\"category\":\"software\"},\"requestedSystemFrequency_Hz\":{\"name\":\"requestedSystemFrequency_Hz\",\"description\":\"Requested System Frequency(in Hz)\",\"type\":\"number\",\"defaultValue\":8000000,\"group\":\"systemClock\",\"tabs\":[\"main\"],\"validation\":true,\"category\":\"software\"},\"setMaximumSystemFrequency\":{\"name\":\"setMaximumSystemFrequency\",\"description\":\"Set System(FOSC) Frequency to Maximum\",\"type\":\"boolean\",\"defaultValue\":false,\"group\":\"systemClock\",\"tabs\":[\"main\"],\"category\":\"software\"},\"calculatedSystemFrequency_Hz\":{\"name\":\"calculatedSystemFrequency_Hz\",\"description\":\"Calculated System Frequency(FOSC)\",\"type\":\"string\",\"defaultValue\":\"0\",\"group\":\"systemClock\",\"tabs\":[\"main\"],\"category\":\"software\",\"uiBehavior\":{\"readonly\":true}},\"instructionClockFrequency_Hz\":{\"name\":\"instructionClockFrequency_Hz\",\"description\":\"Calculated Peripheral Frequency(FOSC/2)\",\"type\":\"string\",\"defaultValue\":\"0\",\"group\":\"systemClock\",\"tabs\":[\"main\"],\"category\":\"software\",\"uiBehavior\":{\"readonly\":true}},\"fpllo\":{\"name\":\"fpllo\",\"description\":\"PLL Output Frequency(FPLLO)\",\"type\":\"string\",\"defaultValue\":\"0\",\"group\":\"systemClock\",\"tabs\":[\"main\"],\"category\":\"software\",\"uiBehavior\":{\"readonly\":true}},\"fvco\":{\"name\":\"fvco\",\"description\":\"VCO Frequency(FVCO)\",\"type\":\"string\",\"defaultValue\":\"0\",\"group\":\"systemClock\",\"tabs\":[\"main\"],\"category\":\"software\",\"uiBehavior\":{\"readonly\":true}},\"fvcoDivider\":{\"name\":\"fvcoDivider\",\"description\":\"FVCO Divider\",\"type\":\"ComboBox\",\"defaultValue\":{\"value\":\"4\",\"options\":[\"1\",\"2\",\"3\",\"4\"]},\"group\":\"systemClock\",\"tabs\":[\"main\"],\"category\":\"software\"},\"fvcoDiv\":{\"name\":\"fvcoDiv\",\"description\":\"VCO Divider Frequency(FVCODIV)\",\"type\":\"string\",\"defaultValue\":\"0\",\"group\":\"systemClock\",\"tabs\":[\"main\"],\"category\":\"software\",\"uiBehavior\":{\"readonly\":true}},\"usbClockFrequency_Hz\":{\"name\":\"usbClockFrequency_Hz\",\"description\":\"USB Frequency\",\"type\":\"string\",\"defaultValue\":\"0\",\"group\":\"systemClock\",\"tabs\":[\"main\"],\"category\":\"software\",\"uiBehavior\":{\"readonly\":true}},\"auxClockSource\":{\"name\":\"auxClockSource\",\"description\":\"Auxiliary Clock Source\",\"type\":\"ComboBox\",\"defaultValue\":{\"value\":\"FRC Oscillator\",\"options\":[\"FRC Oscillator\",\"FRC Oscillator with PLL\",\"Primary Oscillator\",\"Primary Oscillator with PLL\"]},\"group\":\"auxClock\",\"tabs\":[\"main\"],\"category\":\"software\"},\"auxClockInputFrequency_Hz\":{\"name\":\"auxClockInputFrequency_Hz\",\"description\":\"Auxiliary Clock Input Frequency(in Hz)\",\"type\":\"number\",\"defaultValue\":8000000,\"group\":\"auxClock\",\"tabs\":[\"main\"],\"validation\":true,\"category\":\"software\"},\"requestedAuxClockOutputFrequency_Hz\":{\"name\":\"requestedAuxClockOutputFrequency_Hz\",\"description\":\"Requested Auxiliary Clock Output Frequency(in Hz)\",\"type\":\"number\",\"defaultValue\":10000000,\"group\":\"auxClock\",\"tabs\":[\"main\"],\"validation\":true,\"category\":\"software\"},\"apllo\":{\"name\":\"apllo\",\"description\":\"Auxiliary PLL Output Frequency(AFPLLO)\",\"type\":\"string\",\"defaultValue\":\"0\",\"group\":\"auxClock\",\"tabs\":[\"main\"],\"category\":\"software\",\"uiBehavior\":{\"readonly\":true}},\"afvco\":{\"name\":\"afvco\",\"description\":\"Auxiliary VCO Frequency(AFVCO)\",\"type\":\"string\",\"defaultValue\":\"0\",\"group\":\"auxClock\",\"tabs\":[\"main\"],\"category\":\"software\",\"uiBehavior\":{\"readonly\":true}},\"afvcoDivider\":{\"name\":\"afvcoDivider\",\"description\":\"AFVCO Divider\",\"type\":\"ComboBox\",\"defaultValue\":{\"value\":\"4\",\"options\":[\"1\",\"2\",\"3\",\"4\"]},\"group\":\"auxClock\",\"tabs\":[\"main\"],\"category\":\"software\"},\"afvcoDiv\":{\"name\":\"afvcoDiv\",\"description\":\"Auxiliary VCO Divider Frequency(AFVCODIV)\",\"type\":\"string\",\"defaultValue\":\"0\",\"group\":\"auxClock\",\"tabs\":[\"main\"],\"category\":\"software\",\"uiBehavior\":{\"readonly\":true}},\"refClockEnable\":{\"name\":\"refClockEnable\",\"description\":\"Reference Clock Enable\",\"type\":\"boolean\",\"defaultValue\":false,\"group\":\"refClock\",\"tabs\":[\"main\"],\"category\":\"software\"},\"refClockSource\":{\"name\":\"refClockSource\",\"description\":\"REFO Clock Source\",\"type\":\"ComboBox\",\"defaultValue\":{\"value\":\"FOSC\",\"options\":[\"FOSC\",\"FOSC/2\",\"FRC Oscillator\",\"Primary Oscillator\",\"LPRC Oscillator\",\"BFRC Oscillator\",\"FVCO/4\",\"REFCLKI\"]},\"group\":\"refClock\",\"tabs\":[\"main\"],\"category\":\"software\"},\"requestedRefClockOutputFrequency_Hz\":{\"name\":\"requestedRefClockOutputFrequency_Hz\",\"description\":\"Requested REFO Frequency(in Hz)\",\"type\":\"number\",\"defaultValue\":8000000,\"group\":\"refClock\",\"tabs\":[\"main\"],\"category\":\"software\"},\"calculatedRefOutputFrequency_Hz\":{\"name\":\"calculatedRefOutputFrequency_Hz\",\"description\":\"Calculated REFO Frequency\",\"type\":\"string\",\"defaultValue\":\"0\",\"group\":\"refClock\",\"tabs\":[\"main\"],\"uiBehavior\":{\"readonly\":true},\"category\":\"software\"},\"canfdClockSource\":{\"name\":\"canfdClockSource\",\"description\":\"Clock Source\",\"type\":\"ComboBox\",\"defaultValue\":{\"value\":\"No Clock Selected\",\"options\":[\"No Clock Selected\"]},\"group\":\"canfdClock\",\"tabs\":[\"main\"],\"category\":\"software\"},\"canfdClkSrcFreq\":{\"name\":\"canfdClkSrcFreq\",\"description\":\"Clock Source Frequency\",\"type\":\"string\",\"defaultValue\":\"0.00 kHz\",\"group\":\"canfdClock\",\"uiBehavior\":{\"readonly\":true},\"tabs\":[\"main\"],\"category\":\"software\"},\"requestedCanfdClockOutputFrequency_Hz\":{\"name\":\"requestedCanfdClockOutputFrequency_Hz\",\"description\":\"Requested FCAN Frequency\",\"type\":\"string\",\"defaultValue\":\"0.00 kHz\",\"group\":\"canfdClock\",\"tabs\":[\"main\"],\"uiBehavior\":{\"readonly\":true},\"category\":\"software\"},\"calculatedCanfdOutputFrequency_Hz\":{\"name\":\"calculatedCanfdOutputFrequency_Hz\",\"description\":\"Calculated FCAN Frequency\",\"type\":\"string\",\"defaultValue\":\"0\",\"group\":\"canfdClock\",\"tabs\":[\"main\"],\"uiBehavior\":{\"readonly\":true},\"category\":\"software\"}}}");
7878
+ module.exports = JSON.parse("{\"moduleName\":\"Clock\",\"deviceType\":\"PIC\",\"booleanValues\":{\"true\":\"enabled\",\"false\":\"disabled\"},\"help\":{\"url\":\"v2/keyword-lookup?keyword=CLOCK_16BIT_MELODY_DRIVER&version=latest&redirect=true\",\"tooltip\":\"Click here to open documentation\"},\"UIGroups\":{\"systemClock\":\"System Clock\",\"auxClock\":\"Auxiliary Clock\",\"refClock\":\"Reference Clock\",\"canfdClock\":\"CAN FD Clock\"},\"UIOrder\":{\"systemClock\":[\"*\"],\"auxClock\":[\"*\"],\"refClock\":[\"*\"],\"canfdClock\":[\"*\"]},\"tabs\":{\"main\":\"Easy View\"},\"imports\":{\"clock_16bit_config_interface\":{\"nodeModule\":{\"importName\":\"clock_16bit_config_interface\",\"node\":\"@microchip/clock-16bit-config-interface\"},\"import\":{\"interfaceId\":{\"name\":\"clock-16bit-config-interface\",\"version\":\"^1.1.5\"},\"isRequired\":true}},\"device_meta\":{\"import\":{\"interfaceId\":{\"name\":\"device-meta\",\"version\":\"1.0.0\"}}}},\"exports\":{\"canfd_clock\":{\"interfaces\":[{\"interfaceId\":{\"name\":\"canfd-clock-interface\",\"version\":\"1.0.0\"}}]},\"clock_16bit_drv_interface\":{\"interfaces\":[{\"interfaceId\":{\"name\":\"clock-16bit-drv-interface\",\"version\":\"1.0.0\"}}]}},\"softwareData\":{\"mainClockSource\":{\"name\":\"mainClockSource\",\"description\":\"System Clock Source\",\"type\":\"ComboBox\",\"defaultValue\":{\"value\":\"FRC Oscillator\",\"options\":[\"FRC Oscillator\",\"FRC Oscillator with Postscaler\",\"FRC Oscillator with PLL\",\"Primary Oscillator\",\"Primary Oscillator with PLL\",\"External Oscillator\",\"External Oscillator with PLL\",\"LPRC Oscillator\"]},\"group\":\"systemClock\",\"tabs\":[\"main\"],\"category\":\"software\"},\"mainClockInputFrequency_Hz\":{\"name\":\"mainClockInputFrequency_Hz\",\"description\":\"Input Frequency(in Hz)\",\"type\":\"number\",\"defaultValue\":8000000,\"group\":\"systemClock\",\"tabs\":[\"main\"],\"validation\":true,\"category\":\"software\"},\"requestedSystemFrequency_Hz\":{\"name\":\"requestedSystemFrequency_Hz\",\"description\":\"Requested System Frequency(in Hz)\",\"type\":\"number\",\"defaultValue\":8000000,\"group\":\"systemClock\",\"tabs\":[\"main\"],\"validation\":true,\"category\":\"software\"},\"setMaximumSystemFrequency\":{\"name\":\"setMaximumSystemFrequency\",\"description\":\"Set System(FOSC) Frequency to Maximum\",\"type\":\"boolean\",\"defaultValue\":false,\"group\":\"systemClock\",\"tabs\":[\"main\"],\"category\":\"software\"},\"calculatedSystemFrequency_Hz\":{\"name\":\"calculatedSystemFrequency_Hz\",\"description\":\"Calculated System Frequency(FOSC)\",\"type\":\"string\",\"defaultValue\":\"0\",\"group\":\"systemClock\",\"tabs\":[\"main\"],\"category\":\"software\",\"uiBehavior\":{\"readonly\":true}},\"instructionClockFrequency_Hz\":{\"name\":\"instructionClockFrequency_Hz\",\"description\":\"Calculated Peripheral Frequency(FOSC/2)\",\"type\":\"string\",\"defaultValue\":\"0\",\"group\":\"systemClock\",\"tabs\":[\"main\"],\"category\":\"software\",\"uiBehavior\":{\"readonly\":true}},\"fpllo\":{\"name\":\"fpllo\",\"description\":\"PLL Output Frequency(FPLLO)\",\"type\":\"string\",\"defaultValue\":\"0\",\"group\":\"systemClock\",\"tabs\":[\"main\"],\"category\":\"software\",\"uiBehavior\":{\"readonly\":true}},\"fvco\":{\"name\":\"fvco\",\"description\":\"VCO Frequency(FVCO)\",\"type\":\"string\",\"defaultValue\":\"0\",\"group\":\"systemClock\",\"tabs\":[\"main\"],\"category\":\"software\",\"uiBehavior\":{\"readonly\":true}},\"fvcoDivider\":{\"name\":\"fvcoDivider\",\"description\":\"FVCO Divider\",\"type\":\"ComboBox\",\"defaultValue\":{\"value\":\"4\",\"options\":[\"1\",\"2\",\"3\",\"4\"]},\"group\":\"systemClock\",\"tabs\":[\"main\"],\"category\":\"software\"},\"fvcoDiv\":{\"name\":\"fvcoDiv\",\"description\":\"VCO Divider Frequency(FVCODIV)\",\"type\":\"string\",\"defaultValue\":\"0\",\"group\":\"systemClock\",\"tabs\":[\"main\"],\"category\":\"software\",\"uiBehavior\":{\"readonly\":true}},\"usbClockFrequency_Hz\":{\"name\":\"usbClockFrequency_Hz\",\"description\":\"USB Frequency\",\"type\":\"string\",\"defaultValue\":\"0\",\"group\":\"systemClock\",\"tabs\":[\"main\"],\"category\":\"software\",\"uiBehavior\":{\"readonly\":true}},\"auxClockSource\":{\"name\":\"auxClockSource\",\"description\":\"Auxiliary Clock Source\",\"type\":\"ComboBox\",\"defaultValue\":{\"value\":\"FRC Oscillator\",\"options\":[\"FRC Oscillator\",\"FRC Oscillator with PLL\",\"Primary Oscillator\",\"Primary Oscillator with PLL\"]},\"group\":\"auxClock\",\"tabs\":[\"main\"],\"category\":\"software\"},\"auxClockInputFrequency_Hz\":{\"name\":\"auxClockInputFrequency_Hz\",\"description\":\"Auxiliary Clock Input Frequency(in Hz)\",\"type\":\"number\",\"defaultValue\":8000000,\"group\":\"auxClock\",\"tabs\":[\"main\"],\"validation\":true,\"category\":\"software\"},\"requestedAuxClockOutputFrequency_Hz\":{\"name\":\"requestedAuxClockOutputFrequency_Hz\",\"description\":\"Requested Auxiliary Clock Output Frequency(in Hz)\",\"type\":\"number\",\"defaultValue\":10000000,\"group\":\"auxClock\",\"tabs\":[\"main\"],\"validation\":true,\"category\":\"software\"},\"apllo\":{\"name\":\"apllo\",\"description\":\"Auxiliary PLL Output Frequency(AFPLLO)\",\"type\":\"string\",\"defaultValue\":\"0\",\"group\":\"auxClock\",\"tabs\":[\"main\"],\"category\":\"software\",\"uiBehavior\":{\"readonly\":true}},\"afvco\":{\"name\":\"afvco\",\"description\":\"Auxiliary VCO Frequency(AFVCO)\",\"type\":\"string\",\"defaultValue\":\"0\",\"group\":\"auxClock\",\"tabs\":[\"main\"],\"category\":\"software\",\"uiBehavior\":{\"readonly\":true}},\"afvcoDivider\":{\"name\":\"afvcoDivider\",\"description\":\"AFVCO Divider\",\"type\":\"ComboBox\",\"defaultValue\":{\"value\":\"4\",\"options\":[\"1\",\"2\",\"3\",\"4\"]},\"group\":\"auxClock\",\"tabs\":[\"main\"],\"category\":\"software\"},\"afvcoDiv\":{\"name\":\"afvcoDiv\",\"description\":\"Auxiliary VCO Divider Frequency(AFVCODIV)\",\"type\":\"string\",\"defaultValue\":\"0\",\"group\":\"auxClock\",\"tabs\":[\"main\"],\"category\":\"software\",\"uiBehavior\":{\"readonly\":true}},\"refClockEnable\":{\"name\":\"refClockEnable\",\"description\":\"Reference Clock Enable\",\"type\":\"boolean\",\"defaultValue\":false,\"group\":\"refClock\",\"tabs\":[\"main\"],\"category\":\"software\"},\"refClockSource\":{\"name\":\"refClockSource\",\"description\":\"REFO Clock Source\",\"type\":\"ComboBox\",\"defaultValue\":{\"value\":\"FOSC\",\"options\":[\"FOSC\",\"FOSC/2\",\"FRC Oscillator\",\"Primary Oscillator\",\"LPRC Oscillator\",\"BFRC Oscillator\",\"FVCO/4\",\"REFCLKI\"]},\"group\":\"refClock\",\"tabs\":[\"main\"],\"category\":\"software\"},\"requestedRefClockOutputFrequency_Hz\":{\"name\":\"requestedRefClockOutputFrequency_Hz\",\"description\":\"Requested REFO Frequency(in Hz)\",\"type\":\"number\",\"defaultValue\":8000000,\"group\":\"refClock\",\"tabs\":[\"main\"],\"category\":\"software\"},\"calculatedRefOutputFrequency_Hz\":{\"name\":\"calculatedRefOutputFrequency_Hz\",\"description\":\"Calculated REFO Frequency\",\"type\":\"string\",\"defaultValue\":\"0\",\"group\":\"refClock\",\"tabs\":[\"main\"],\"uiBehavior\":{\"readonly\":true},\"category\":\"software\"},\"canfdClockSource\":{\"name\":\"canfdClockSource\",\"description\":\"Clock Source\",\"type\":\"ComboBox\",\"defaultValue\":{\"value\":\"No Clock Selected\",\"options\":[\"No Clock Selected\"]},\"group\":\"canfdClock\",\"tabs\":[\"main\"],\"category\":\"software\"},\"canfdClkSrcFreq\":{\"name\":\"canfdClkSrcFreq\",\"description\":\"Clock Source Frequency\",\"type\":\"string\",\"defaultValue\":\"0.00 kHz\",\"group\":\"canfdClock\",\"uiBehavior\":{\"readonly\":true},\"tabs\":[\"main\"],\"category\":\"software\"},\"requestedCanfdClockOutputFrequency_Hz\":{\"name\":\"requestedCanfdClockOutputFrequency_Hz\",\"description\":\"Requested FCAN Frequency\",\"type\":\"string\",\"defaultValue\":\"0.00 kHz\",\"group\":\"canfdClock\",\"tabs\":[\"main\"],\"uiBehavior\":{\"readonly\":true},\"category\":\"software\"},\"calculatedCanfdOutputFrequency_Hz\":{\"name\":\"calculatedCanfdOutputFrequency_Hz\",\"description\":\"Calculated FCAN Frequency\",\"type\":\"string\",\"defaultValue\":\"0\",\"group\":\"canfdClock\",\"tabs\":[\"main\"],\"uiBehavior\":{\"readonly\":true},\"category\":\"software\"}}}");
7793
7879
 
7794
7880
  /***/ }),
7795
7881
 
@@ -7802,7 +7888,7 @@ module.exports = JSON.parse("{\"moduleName\":\"Clock\",\"deviceType\":\"PIC\",\"
7802
7888
 
7803
7889
  __webpack_require__(/*! core-js/es/set/index */"./node_modules/core-js/es/set/index.js");
7804
7890
  __webpack_require__(/*! core-js/es/map/index */"./node_modules/core-js/es/map/index.js");
7805
- module.exports = __webpack_require__(/*! /home/jenkins/agent/workspace/Content_clock-16bit-driver_1.1.1/generated_module/src/autoProcessor.ts */"./generated_module/src/autoProcessor.ts");
7891
+ module.exports = __webpack_require__(/*! /home/jenkins/agent/workspace/Content_clock-16bit-driver_1.2.1/generated_module/src/autoProcessor.ts */"./generated_module/src/autoProcessor.ts");
7806
7892
 
7807
7893
 
7808
7894
  /***/ })