@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.
package/output/creator.js CHANGED
@@ -11752,28 +11752,65 @@ var MyDerivedData = function MyDerivedData(dataModel) {
11752
11752
  requestedRefClockOutputFrequency_HzValidator: _this.requestedRefClockOutputFrequency_HzValidator,
11753
11753
  getCustomUiErrors: _this.getCustomUiErrors,
11754
11754
  "clock-16bit-drv-interface_payloads": _this.getClockApplicationInterfacePayload,
11755
+ "clock-16bit-drv-interface_payload": _this.getDefaultClockApplicationInterfacePayload,
11755
11756
  importName: _this.friendlyImportName,
11756
11757
  exportName: _this.friendlyExportName
11757
11758
  };
11758
11759
  });
11759
11760
 
11761
+ _defineProperty(this, "getFamilyName", function () {
11762
+ var _this$dataModel, _this$dataModel$getIm, _this$dataModel$getIm2;
11763
+
11764
+ var deviceFamilyName = "";
11765
+ 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;
11766
+
11767
+ if (deviceMetaData) {
11768
+ deviceFamilyName = deviceMetaData === null || deviceMetaData === void 0 ? void 0 : deviceMetaData.familyName;
11769
+ }
11770
+
11771
+ return deviceFamilyName;
11772
+ });
11773
+
11774
+ _defineProperty(this, "isSecondaryDevice", function () {
11775
+ var _this$getModel$getImp, _this$getModel, _this$getModel$getImp2, _this$getModel$getImp3, _this$getModel$getImp4;
11776
+
11777
+ var deviceFamilyName = _this.getFamilyName();
11778
+
11779
+ 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;
11780
+ /*
11781
+ Device name ends with "S" followed by a digit.
11782
+ The second part of the condition is for devices like Centaurus which have their inidividual flash.
11783
+ */
11784
+
11785
+ if (deviceFamilyName.match(/S\d$/) && !hasSecondaryCoreFlashSupport) {
11786
+ return true;
11787
+ }
11788
+
11789
+ return false;
11790
+ });
11791
+
11760
11792
  _defineProperty(this, "isComponentEnabled", function (componentName) {
11761
11793
  var isComponentEnabled = false;
11762
11794
 
11763
11795
  if (componentName === COMPONENT_REF_CLOCK_SOURCE || componentName === COMPONENT_REQUESTED_REF_CLOCK_OUTPUT_FREQUENCY) {
11764
- var _this$dataModel;
11796
+ var _this$dataModel2;
11765
11797
 
11766
- if (((_this$dataModel = _this.dataModel) === null || _this$dataModel === void 0 ? void 0 : _this$dataModel.getComponentValue(COMPONENT_REF_CLOCK_ENABLE)) === true) {
11798
+ if (((_this$dataModel2 = _this.dataModel) === null || _this$dataModel2 === void 0 ? void 0 : _this$dataModel2.getComponentValue(COMPONENT_REF_CLOCK_ENABLE)) === true) {
11767
11799
  isComponentEnabled = true;
11768
11800
  }
11769
11801
  } 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) {
11770
11802
  isComponentEnabled = true;
11771
11803
  } else if (componentName === COMPONENT_REQUESTED_SYSTEM_FREQUENCY) {
11772
- var _this$dataModel2;
11804
+ var _this$dataModel3;
11773
11805
 
11774
- if (((_this$dataModel2 = _this.dataModel) === null || _this$dataModel2 === void 0 ? void 0 : _this$dataModel2.getComponentValue(COMPONENT_SET_MAX_FREQUENCY)) === false) {
11806
+ if (((_this$dataModel3 = _this.dataModel) === null || _this$dataModel3 === void 0 ? void 0 : _this$dataModel3.getComponentValue(COMPONENT_SET_MAX_FREQUENCY)) === false) {
11775
11807
  isComponentEnabled = true;
11776
11808
  }
11809
+ } // Checking whether Secondary Device of Dual Core is being used
11810
+
11811
+
11812
+ if (componentName === COMPONENT_MAIN_CLOCK_SOURCE && _this.isSecondaryDevice()) {
11813
+ isComponentEnabled = false;
11777
11814
  }
11778
11815
 
11779
11816
  return isComponentEnabled;
@@ -11891,19 +11928,19 @@ var MyDerivedData = function MyDerivedData(dataModel) {
11891
11928
  });
11892
11929
 
11893
11930
  _defineProperty(this, "getMaxSystemClockFrequency", function () {
11894
- var _this$dataModel3, _this$dataModel4;
11931
+ var _this$dataModel4, _this$dataModel5;
11895
11932
 
11896
11933
  var maxSystemClockFrequency = 0;
11897
11934
 
11898
11935
  var interfaceData = _this.dataModel.getImportValue(CLOCK_16BIT_CONFIG_INTERFACE);
11899
11936
 
11900
- if (interfaceData != undefined && ((_this$dataModel3 = _this.dataModel) === null || _this$dataModel3 === void 0 ? void 0 : _this$dataModel3.getComponentValue("mainClockSource")) != "FRC Oscillator with Postscaler") {
11937
+ if (interfaceData != undefined && ((_this$dataModel4 = _this.dataModel) === null || _this$dataModel4 === void 0 ? void 0 : _this$dataModel4.getComponentValue("mainClockSource")) != "FRC Oscillator with Postscaler") {
11901
11938
  var _interfaceData$mainCl5, _interfaceData$mainCl6;
11902
11939
 
11903
11940
  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;
11904
11941
  }
11905
11942
 
11906
- if (((_this$dataModel4 = _this.dataModel) === null || _this$dataModel4 === void 0 ? void 0 : _this$dataModel4.getComponentValue("mainClockSource")) == "FRC Oscillator with Postscaler") {
11943
+ if (((_this$dataModel5 = _this.dataModel) === null || _this$dataModel5 === void 0 ? void 0 : _this$dataModel5.getComponentValue("mainClockSource")) == "FRC Oscillator with Postscaler") {
11907
11944
  if (_this.getClockPropertiesFromPayLoad()["FRC_CLOCK"] != undefined) {
11908
11945
  var _this$getClockPropert;
11909
11946
 
@@ -11926,6 +11963,13 @@ var MyDerivedData = function MyDerivedData(dataModel) {
11926
11963
  uiBehavior = _defineProperty({}, "ui:help", "CAN FD clock source frequency should be less than or equal to 640 MHz");
11927
11964
  break;
11928
11965
 
11966
+ case COMPONENT_MAIN_CLOCK_SOURCE:
11967
+ if (_this.shouldShowSecDeviceNotif()) {
11968
+ uiBehavior = _defineProperty({}, "ui:help", "Ensure to select ".concat(_this.dataModel.getComponentValue(COMPONENT_MAIN_CLOCK_SOURCE), " as part of Main Device also"));
11969
+ }
11970
+
11971
+ break;
11972
+
11929
11973
  default:
11930
11974
  break;
11931
11975
  }
@@ -11992,11 +12036,11 @@ var MyDerivedData = function MyDerivedData(dataModel) {
11992
12036
  });
11993
12037
 
11994
12038
  _defineProperty(this, "isRequestedSystemFrequencyVisible", function () {
11995
- var _this$dataModel5;
12039
+ var _this$dataModel6;
11996
12040
 
11997
12041
  var visible = false;
11998
12042
 
11999
- if (((_this$dataModel5 = _this.dataModel) === null || _this$dataModel5 === void 0 ? void 0 : _this$dataModel5.getComponentValue(COMPONENT_SET_MAX_FREQUENCY)) === false) {
12043
+ if (((_this$dataModel6 = _this.dataModel) === null || _this$dataModel6 === void 0 ? void 0 : _this$dataModel6.getComponentValue(COMPONENT_SET_MAX_FREQUENCY)) === false) {
12000
12044
  var mainClockSource = _this.dataModel.getComponentValue(COMPONENT_MAIN_CLOCK_SOURCE);
12001
12045
 
12002
12046
  if (mainClockSource != undefined) {
@@ -12082,16 +12126,16 @@ var MyDerivedData = function MyDerivedData(dataModel) {
12082
12126
  });
12083
12127
 
12084
12128
  _defineProperty(this, "getMyAlerts", function () {
12085
- var _this$dataModel7;
12129
+ var _this$dataModel8;
12086
12130
 
12087
12131
  var alerts = [];
12088
12132
 
12089
12133
  if (_this.isCanfdClockSupported() && _this.getCanfdClockRequestList()) {
12090
- var _this$dataModel6;
12134
+ var _this$dataModel7;
12091
12135
 
12092
12136
  var canfdClockSource = _this.dataModel.getComponentValue(COMPONENT_CANFD_CLOCK_SOURCE);
12093
12137
 
12094
- var calculatedCanFdClockSrcFreq = (_this$dataModel6 = _this.dataModel) === null || _this$dataModel6 === void 0 ? void 0 : _this$dataModel6.getComponentValue("calculatedCanfdOutputFrequency_Hz");
12138
+ var calculatedCanFdClockSrcFreq = (_this$dataModel7 = _this.dataModel) === null || _this$dataModel7 === void 0 ? void 0 : _this$dataModel7.getComponentValue("calculatedCanfdOutputFrequency_Hz");
12095
12139
 
12096
12140
  if (calculatedCanFdClockSrcFreq && calculatedCanFdClockSrcFreq != "0.00 kHz") {
12097
12141
  var canClkFreqVal = _this.getCalculatedCanfdOutputFrequency_Hz();
@@ -12127,10 +12171,10 @@ var MyDerivedData = function MyDerivedData(dataModel) {
12127
12171
  }
12128
12172
  }
12129
12173
 
12130
- if ((_this$dataModel7 = _this.dataModel) === null || _this$dataModel7 === void 0 ? void 0 : _this$dataModel7.getComponentValue(COMPONENT_SET_MAX_FREQUENCY)) {
12131
- var _this$dataModel8;
12174
+ if ((_this$dataModel8 = _this.dataModel) === null || _this$dataModel8 === void 0 ? void 0 : _this$dataModel8.getComponentValue(COMPONENT_SET_MAX_FREQUENCY)) {
12175
+ var _this$dataModel9;
12132
12176
 
12133
- var mainClockSource = (_this$dataModel8 = _this.dataModel) === null || _this$dataModel8 === void 0 ? void 0 : _this$dataModel8.getComponentValue(COMPONENT_MAIN_CLOCK_SOURCE);
12177
+ var mainClockSource = (_this$dataModel9 = _this.dataModel) === null || _this$dataModel9 === void 0 ? void 0 : _this$dataModel9.getComponentValue(COMPONENT_MAIN_CLOCK_SOURCE);
12134
12178
 
12135
12179
  if (mainClockSource != undefined && (mainClockSource === null || mainClockSource === void 0 ? void 0 : mainClockSource.indexOf(PLL)) < 0) {
12136
12180
  alerts.push({
@@ -12140,9 +12184,32 @@ var MyDerivedData = function MyDerivedData(dataModel) {
12140
12184
  }
12141
12185
  }
12142
12186
 
12187
+ if (_this.shouldShowSecDeviceNotif()) {
12188
+ var _this$dataModel10, _this$dataModel11;
12189
+
12190
+ alerts.push({
12191
+ type: _microchip_scf_common_lib_Processor__WEBPACK_IMPORTED_MODULE_0__["AlertTypes"].Hint,
12192
+ 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")
12193
+ });
12194
+ }
12195
+
12143
12196
  return alerts;
12144
12197
  });
12145
12198
 
12199
+ _defineProperty(this, "shouldShowSecDeviceNotif", function () {
12200
+ var deviceFamilyName = _this.getFamilyName();
12201
+
12202
+ if (deviceFamilyName.match(/S\d$/)) {
12203
+ var _this$dataModel12, _this$dataModel13, _this$dataModel14, _this$dataModel15;
12204
+
12205
+ 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") {
12206
+ return true;
12207
+ }
12208
+ }
12209
+
12210
+ return false;
12211
+ });
12212
+
12146
12213
  _defineProperty(this, "calculatedFunction", function () {
12147
12214
  return;
12148
12215
  });
@@ -12734,9 +12801,9 @@ var MyDerivedData = function MyDerivedData(dataModel) {
12734
12801
  });
12735
12802
 
12736
12803
  _defineProperty(this, "canfdClockArg", function () {
12737
- var _this$dataModel$getSt, _this$dataModel9, _this$dataModel9$getS, _this$dataModel9$getS2, _this$dataModel9$getS3;
12804
+ var _this$dataModel$getSt, _this$dataModel16, _this$dataModel16$get, _this$dataModel16$get2, _this$dataModel16$get3;
12738
12805
 
12739
- 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";
12806
+ 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";
12740
12807
  return {
12741
12808
  canfdClockSource: canClock,
12742
12809
  requestedCanfdClockOutputFrequency_Hz: _this.getRequestedCanfdClockFreq()
@@ -12748,10 +12815,10 @@ var MyDerivedData = function MyDerivedData(dataModel) {
12748
12815
  });
12749
12816
 
12750
12817
  _defineProperty(this, "getCanfdClockSrcFreq", function () {
12751
- var _this$dataModel10, _this$dataModel10$get, _this$dataModel$getCo, _this$dataModel11;
12818
+ var _this$dataModel17, _this$dataModel17$get, _this$dataModel$getCo, _this$dataModel18;
12752
12819
 
12753
- 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;
12754
- 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";
12820
+ 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;
12821
+ 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";
12755
12822
  var canClkFreq = Object(_Util__WEBPACK_IMPORTED_MODULE_3__["getCanfdClockFrequency"])(canClkSrc, interfaceData);
12756
12823
  return Object(_Util__WEBPACK_IMPORTED_MODULE_3__["getCanClkDivFreq"])(canClkSrc, canClkFreq);
12757
12824
  });
@@ -12925,6 +12992,25 @@ var MyDerivedData = function MyDerivedData(dataModel) {
12925
12992
  return clockApplicationInterfacePayloads;
12926
12993
  });
12927
12994
 
12995
+ _defineProperty(this, "getDefaultClockApplicationInterfacePayload", function () {
12996
+ var interfaceData = _this.dataModel.getImportValue(CLOCK_16BIT_CONFIG_INTERFACE);
12997
+
12998
+ if (interfaceData != undefined) {
12999
+ return {
13000
+ mainClockPayload: interfaceData.mainClockPayload,
13001
+ hasUSB: interfaceData.hasUSB,
13002
+ hasAuxClock: interfaceData.hasAuxClock,
13003
+ hasRefClock: interfaceData.hasRefClock,
13004
+ hasCanfdClock: interfaceData.hasCanfdClock,
13005
+ hasSecondaryOscillator: interfaceData.hasSecondaryOscillator,
13006
+ isSecondaryOscillatorEnabled: interfaceData.isSecondaryOscillatorEnabled,
13007
+ auxClockPayload: interfaceData.auxClockPayload,
13008
+ refClockPayload: interfaceData.refClockPayload,
13009
+ canfdClockPayload: interfaceData.canfdClockPayload
13010
+ };
13011
+ }
13012
+ });
13013
+
12928
13014
  _defineProperty(this, "friendlyExportName", function (exportKey) {
12929
13015
  var exportName;
12930
13016
 
@@ -13086,7 +13172,7 @@ var getCanClkDivFreq = function getCanClkDivFreq(canfdClockSource, clkSrcfreq) {
13086
13172
  /*! exports provided: moduleName, deviceType, booleanValues, help, UIGroups, UIOrder, tabs, imports, exports, softwareData, default */
13087
13173
  /***/ (function(module) {
13088
13174
 
13089
- 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\"}}}");
13175
+ 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\"}}}");
13090
13176
 
13091
13177
  /***/ }),
13092
13178
 
@@ -13099,7 +13185,7 @@ module.exports = JSON.parse("{\"moduleName\":\"Clock\",\"deviceType\":\"PIC\",\"
13099
13185
 
13100
13186
  __webpack_require__(/*! core-js/es/set/index */"./node_modules/core-js/es/set/index.js");
13101
13187
  __webpack_require__(/*! core-js/es/map/index */"./node_modules/core-js/es/map/index.js");
13102
- module.exports = __webpack_require__(/*! /home/jenkins/agent/workspace/Content_clock-16bit-driver_1.1.1/generated_module/src/creator.ts */"./generated_module/src/creator.ts");
13188
+ module.exports = __webpack_require__(/*! /home/jenkins/agent/workspace/Content_clock-16bit-driver_1.2.1/generated_module/src/creator.ts */"./generated_module/src/creator.ts");
13103
13189
 
13104
13190
 
13105
13191
  /***/ })