@mchp-mcc/scf-pic8-osc-v1 4.3.4 → 4.3.5

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.
@@ -6092,13 +6092,15 @@ var MyDerivedData = function MyDerivedData(dataModel) {
6092
6092
  var actualOscValue;
6093
6093
 
6094
6094
  if ((resetOscValue === null || resetOscValue === void 0 ? void 0 : resetOscValue.indexOf("4x PLL")) !== -1) {
6095
- actualOscValue = "EXTOSC with 4x PLL";
6095
+ actualOscValue = "EXTOSC with 4x PLL";
6096
6096
  } else if ((resetOscValue === null || resetOscValue === void 0 ? void 0 : resetOscValue.indexOf("Secondary Oscillator")) !== -1) {
6097
6097
  actualOscValue = "SOSC";
6098
6098
  } else if ((resetOscValue === null || resetOscValue === void 0 ? void 0 : resetOscValue.indexOf("Low-Frequency")) !== -1) {
6099
6099
  actualOscValue = "LFINTOSC";
6100
6100
  } else if ((resetOscValue === null || resetOscValue === void 0 ? void 0 : resetOscValue.indexOf("HFINTOSC with HFFRQ = 4 MHz and CDIV = 4:1")) !== -1) {
6101
6101
  actualOscValue = "HFINTOSC";
6102
+ } else if ((resetOscValue === null || resetOscValue === void 0 ? void 0 : resetOscValue.indexOf("HFINTOSC with HFFRQ = 64 MHz and CDIV = 1:1")) !== -1) {
6103
+ actualOscValue = "HFINTOSC";
6102
6104
  } else if ((resetOscValue === null || resetOscValue === void 0 ? void 0 : resetOscValue.indexOf("FEXTOSC")) !== -1) {
6103
6105
  actualOscValue = "EXTOSC";
6104
6106
  } else {
@@ -6113,10 +6115,16 @@ var MyDerivedData = function MyDerivedData(dataModel) {
6113
6115
 
6114
6116
  var pllEnable = _this.dataModel.isComponentValue("pllenOscen");
6115
6117
 
6116
- if (pllStatus === "EXTOSC with 4x PLL") {
6118
+ var clkSrcVal = _this.dataModel.getComponentValue("noscOsccon1");
6119
+
6120
+ if (pllStatus === "EXTOSC with 4x PLL") {
6117
6121
  return true;
6118
6122
  } else if (pllEnable === true) {
6119
6123
  return true;
6124
+ } else if ((clkSrcVal === null || clkSrcVal === void 0 ? void 0 : clkSrcVal.indexOf("4x PLL")) !== -1) {
6125
+ return true;
6126
+ } else if ((clkSrcVal === null || clkSrcVal === void 0 ? void 0 : clkSrcVal.indexOf("2x PLL")) !== -1) {
6127
+ return true;
6120
6128
  } else {
6121
6129
  return false;
6122
6130
  }
@@ -6622,7 +6630,7 @@ _defineProperty(StringConstants, "HFINTOSC_2xPLL", "HFINTOSC with 2x PLL");
6622
6630
 
6623
6631
  _defineProperty(StringConstants, "EXTOSC", "EXTOSC");
6624
6632
 
6625
- _defineProperty(StringConstants, "EXTOSC_4xPLL", "EXTOSC with 4x PLL");
6633
+ _defineProperty(StringConstants, "EXTOSC_4xPLL", "EXTOSC with 4x PLL");
6626
6634
 
6627
6635
  _defineProperty(StringConstants, "OSC_NOT_NEEDED", "Oscillator not needed");
6628
6636