@mchp-mcc/scf-pic8-pwm-v2 4.2.9 → 4.2.11
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/Changelog.md +7 -9
- package/Readme.md +7 -9
- package/output/autoCreator.js +85 -76
- package/output/autoCreator.js.map +1 -1
- package/output/autoProcessor.js +85 -76
- package/output/autoProcessor.js.map +1 -1
- package/output/creator.js +512 -103
- package/output/creator.js.map +1 -1
- package/output/nullPrototype.json +5 -5
- package/output/processor.js +512 -103
- package/output/processor.js.map +1 -1
- package/package.json +19 -18
- package/src/CreatorFunctions.ts +0 -17
- package/src/DerivedData.test.ts +0 -654
- package/src/DerivedData.ts +0 -346
- package/src/GeneratorModel.test.tsx +0 -39
- package/src/GeneratorModel.tsx +0 -65
- package/src/PinsLogic.test.ts +0 -2838
- package/src/PinsLogic.ts +0 -213
- package/src/PwmCalculator.test.tsx +0 -113
- package/src/PwmCalculator.tsx +0 -67
- package/src/catalog.json +0 -23
- package/src/interfaces/pwm_general_parameters.test.tsx +0 -40
- package/src/interfaces/pwm_general_parameters.tsx +0 -121
- package/src/moduleConfig.json +0 -433
- package/src/pinsdata.json +0 -54
package/output/creator.js
CHANGED
|
@@ -505,10 +505,10 @@ var filterModeOptions = function filterModeOptions(options, component, masterCom
|
|
|
505
505
|
|
|
506
506
|
var getProcessedHandle = function getProcessedHandle(handle, payload) {
|
|
507
507
|
if (handle) {
|
|
508
|
-
var _ref, _ref2, _ref3, _payload$customName;
|
|
508
|
+
var _ref, _ref2, _ref3, _payload$customName, _handle;
|
|
509
509
|
|
|
510
510
|
handle = _objectSpread(_objectSpread({}, handle), {}, {
|
|
511
|
-
label: (_ref = (_ref2 = (_ref3 = (_payload$customName = payload === null || payload === void 0 ? void 0 : payload.customName) !== null && _payload$customName !== void 0 ? _payload$customName :
|
|
511
|
+
label: (_ref = (_ref2 = (_ref3 = (_payload$customName = payload === null || payload === void 0 ? void 0 : payload.customName) !== null && _payload$customName !== void 0 ? _payload$customName : (_handle = handle) === null || _handle === void 0 ? void 0 : _handle.label) !== null && _ref3 !== void 0 ? _ref3 : payload === null || payload === void 0 ? void 0 : payload.moduleName) !== null && _ref2 !== void 0 ? _ref2 : payload === null || payload === void 0 ? void 0 : payload.name) !== null && _ref !== void 0 ? _ref : handle.providerId + " : " + handle.exportId
|
|
512
512
|
});
|
|
513
513
|
}
|
|
514
514
|
|
|
@@ -953,6 +953,7 @@ var QueryAdapterKey;
|
|
|
953
953
|
QueryAdapterKey["ALLPINS"] = "allpins";
|
|
954
954
|
QueryAdapterKey["ALLPINS_FOR_ATTRIBS"] = "allpins_for_attribs";
|
|
955
955
|
QueryAdapterKey["PPS"] = "pps";
|
|
956
|
+
QueryAdapterKey["APFCON"] = "apfcon";
|
|
956
957
|
QueryAdapterKey["PORTMUX"] = "portmux";
|
|
957
958
|
QueryAdapterKey["HASPPS"] = "hasPPS";
|
|
958
959
|
})(QueryAdapterKey = exports.QueryAdapterKey || (exports.QueryAdapterKey = {}));
|
|
@@ -1423,11 +1424,7 @@ var __assign = (this && this.__assign) || function () {
|
|
|
1423
1424
|
};
|
|
1424
1425
|
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
1425
1426
|
if (k2 === undefined) k2 = k;
|
|
1426
|
-
|
|
1427
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
1428
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
1429
|
-
}
|
|
1430
|
-
Object.defineProperty(o, k2, desc);
|
|
1427
|
+
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
|
|
1431
1428
|
}) : (function(o, m, k, k2) {
|
|
1432
1429
|
if (k2 === undefined) k2 = k;
|
|
1433
1430
|
o[k2] = m[k];
|
|
@@ -1455,7 +1452,7 @@ var __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {
|
|
|
1455
1452
|
};
|
|
1456
1453
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1457
1454
|
exports.getModel = void 0;
|
|
1458
|
-
var Processor = __importStar(__webpack_require__(/*! @microchip/scf-common/lib/Processor */ "./node_modules/@microchip/scf-common/lib/Processor.js"));
|
|
1455
|
+
var Processor = __importStar(__webpack_require__(/*! @microchip/scf-common/lib/Processor */ "./node_modules/@microchip/scf-automodule-impl/node_modules/@microchip/scf-common/lib/Processor.js"));
|
|
1459
1456
|
var AutoModuleAppModel_1 = __webpack_require__(/*! ../autoModule/AutoModuleAppModel */ "./node_modules/@microchip/scf-automodule-impl/lib/autoModule/AutoModuleAppModel.js");
|
|
1460
1457
|
var AutoModuleHelpers_1 = __webpack_require__(/*! ../autoModule/AutoModuleHelpers */ "./node_modules/@microchip/scf-automodule-impl/lib/autoModule/AutoModuleHelpers.js");
|
|
1461
1458
|
var getConfigData_1 = __webpack_require__(/*! ../autoModule/getConfigData */ "./node_modules/@microchip/scf-automodule-impl/lib/autoModule/getConfigData.js");
|
|
@@ -1729,11 +1726,7 @@ exports.toDictionary = toDictionary;
|
|
|
1729
1726
|
|
|
1730
1727
|
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
1731
1728
|
if (k2 === undefined) k2 = k;
|
|
1732
|
-
|
|
1733
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
1734
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
1735
|
-
}
|
|
1736
|
-
Object.defineProperty(o, k2, desc);
|
|
1729
|
+
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
|
|
1737
1730
|
}) : (function(o, m, k, k2) {
|
|
1738
1731
|
if (k2 === undefined) k2 = k;
|
|
1739
1732
|
o[k2] = m[k];
|
|
@@ -1929,6 +1922,27 @@ var MyAutoModuleAppModel = /** @class */ (function () {
|
|
|
1929
1922
|
.getExportInterfaces()
|
|
1930
1923
|
.getProcessedArgValue(component.name);
|
|
1931
1924
|
if (processedArg != undefined) {
|
|
1925
|
+
if (setting &&
|
|
1926
|
+
setting.options &&
|
|
1927
|
+
typeof processedArg.value === "boolean") {
|
|
1928
|
+
var result_1 = "";
|
|
1929
|
+
if (processedArg.value === true) {
|
|
1930
|
+
var settingOptions = setting.options;
|
|
1931
|
+
settingOptions.forEach(function (eachOption) {
|
|
1932
|
+
if (eachOption.alias.toLowerCase().startsWith("enable")) {
|
|
1933
|
+
result_1 = eachOption.alias;
|
|
1934
|
+
}
|
|
1935
|
+
});
|
|
1936
|
+
}
|
|
1937
|
+
else if (processedArg.value === false) {
|
|
1938
|
+
setting.options.forEach(function (eachOption) {
|
|
1939
|
+
if (eachOption.alias.toLowerCase().startsWith("disable")) {
|
|
1940
|
+
result_1 = eachOption.alias;
|
|
1941
|
+
}
|
|
1942
|
+
});
|
|
1943
|
+
}
|
|
1944
|
+
return result_1;
|
|
1945
|
+
}
|
|
1932
1946
|
return processedArg.value;
|
|
1933
1947
|
}
|
|
1934
1948
|
}
|
|
@@ -2098,7 +2112,7 @@ exports.MyAutoModuleAppModel = MyAutoModuleAppModel;
|
|
|
2098
2112
|
|
|
2099
2113
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
2100
2114
|
exports.isFullyAssigned = exports.createPrototypeImport = void 0;
|
|
2101
|
-
var Processor_1 = __webpack_require__(/*! @microchip/scf-common/lib/Processor */ "./node_modules/@microchip/scf-common/lib/Processor.js");
|
|
2115
|
+
var Processor_1 = __webpack_require__(/*! @microchip/scf-common/lib/Processor */ "./node_modules/@microchip/scf-automodule-impl/node_modules/@microchip/scf-common/lib/Processor.js");
|
|
2102
2116
|
var Arrays_1 = __webpack_require__(/*! @microchip/scf-device/lib/util/Arrays */ "./node_modules/@microchip/scf-device/lib/util/Arrays.js");
|
|
2103
2117
|
var AutoModuleHelpers_1 = __webpack_require__(/*! ./AutoModuleHelpers */ "./node_modules/@microchip/scf-automodule-impl/lib/autoModule/AutoModuleHelpers.js");
|
|
2104
2118
|
var createPrototypeImport = function (interfaceName, config) {
|
|
@@ -2420,7 +2434,7 @@ var filterModeOptions = function (options, component, masterComponentValue) {
|
|
|
2420
2434
|
var getProcessedHandle = function (handle, payload) {
|
|
2421
2435
|
var _a, _b, _c, _d;
|
|
2422
2436
|
if (handle) {
|
|
2423
|
-
handle = __assign(__assign({}, handle), { label: (_d = (_c = (_b = (_a = payload === null || payload === void 0 ? void 0 : payload.customName) !== null && _a !== void 0 ? _a :
|
|
2437
|
+
handle = __assign(__assign({}, handle), { label: (_d = (_c = (_b = (_a = payload === null || payload === void 0 ? void 0 : payload.customName) !== null && _a !== void 0 ? _a : handle === null || handle === void 0 ? void 0 : handle.label) !== null && _b !== void 0 ? _b : payload === null || payload === void 0 ? void 0 : payload.moduleName) !== null && _c !== void 0 ? _c : payload === null || payload === void 0 ? void 0 : payload.name) !== null && _d !== void 0 ? _d : handle.providerId + " : " + handle.exportId });
|
|
2424
2438
|
}
|
|
2425
2439
|
return handle;
|
|
2426
2440
|
};
|
|
@@ -2526,11 +2540,7 @@ var __assign = (this && this.__assign) || function () {
|
|
|
2526
2540
|
};
|
|
2527
2541
|
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
2528
2542
|
if (k2 === undefined) k2 = k;
|
|
2529
|
-
|
|
2530
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
2531
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
2532
|
-
}
|
|
2533
|
-
Object.defineProperty(o, k2, desc);
|
|
2543
|
+
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
|
|
2534
2544
|
}) : (function(o, m, k, k2) {
|
|
2535
2545
|
if (k2 === undefined) k2 = k;
|
|
2536
2546
|
o[k2] = m[k];
|
|
@@ -3441,11 +3451,7 @@ var ConfigBuilder = /** @class */ (function () {
|
|
|
3441
3451
|
|
|
3442
3452
|
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3443
3453
|
if (k2 === undefined) k2 = k;
|
|
3444
|
-
|
|
3445
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
3446
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
3447
|
-
}
|
|
3448
|
-
Object.defineProperty(o, k2, desc);
|
|
3454
|
+
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
|
|
3449
3455
|
}) : (function(o, m, k, k2) {
|
|
3450
3456
|
if (k2 === undefined) k2 = k;
|
|
3451
3457
|
o[k2] = m[k];
|
|
@@ -5090,7 +5096,7 @@ exports.PCPHelper = PCPHelper;
|
|
|
5090
5096
|
|
|
5091
5097
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5092
5098
|
exports.PCPStateActionBuilder = void 0;
|
|
5093
|
-
var pin_standard_1 = __webpack_require__(/*! @microchip/pin-standard */ "./node_modules/@microchip/pin-standard/lib/index.js");
|
|
5099
|
+
var pin_standard_1 = __webpack_require__(/*! @microchip/pin-standard */ "./node_modules/@microchip/scf-automodule-impl/node_modules/@microchip/pin-standard/lib/index.js");
|
|
5094
5100
|
var PCPStateActionBuilder = /** @class */ (function () {
|
|
5095
5101
|
function PCPStateActionBuilder(pinRow) {
|
|
5096
5102
|
this.actionDataArr = [];
|
|
@@ -5110,10 +5116,11 @@ var PCPStateActionBuilder = /** @class */ (function () {
|
|
|
5110
5116
|
this.tabId = tabId;
|
|
5111
5117
|
return this;
|
|
5112
5118
|
};
|
|
5113
|
-
PCPStateActionBuilder.prototype.addIfLockedSetValue = function (pinRegEx, value) {
|
|
5119
|
+
PCPStateActionBuilder.prototype.addIfLockedSetValue = function (pinRegEx, value, pinNameReEx) {
|
|
5114
5120
|
this.actionDataArr.push({
|
|
5115
5121
|
pinstate: pin_standard_1.pin_state.LOCKED,
|
|
5116
5122
|
validFor: pinRegEx,
|
|
5123
|
+
validForpinNameReEx: pinNameReEx,
|
|
5117
5124
|
value: value,
|
|
5118
5125
|
actiontype: pin_standard_1.actiontype.SETACTION,
|
|
5119
5126
|
});
|
|
@@ -5162,7 +5169,7 @@ var PCPStateActionBuilder = /** @class */ (function () {
|
|
|
5162
5169
|
this.actionDataArr.forEach(function (eachData) {
|
|
5163
5170
|
var _a;
|
|
5164
5171
|
var _b;
|
|
5165
|
-
|
|
5172
|
+
var actionObj = {
|
|
5166
5173
|
validFor: eachData.validFor,
|
|
5167
5174
|
state: (_a = {},
|
|
5168
5175
|
_a[eachData.pinstate] = {
|
|
@@ -5175,7 +5182,11 @@ var PCPStateActionBuilder = /** @class */ (function () {
|
|
|
5175
5182
|
},
|
|
5176
5183
|
_a),
|
|
5177
5184
|
actiontype: (_b = eachData.actiontype) !== null && _b !== void 0 ? _b : "",
|
|
5178
|
-
}
|
|
5185
|
+
};
|
|
5186
|
+
if (eachData.validForpinNameReEx !== undefined) {
|
|
5187
|
+
actionObj.validForpinNameReEx = eachData.validForpinNameReEx;
|
|
5188
|
+
}
|
|
5189
|
+
actionArr.push(actionObj);
|
|
5179
5190
|
});
|
|
5180
5191
|
}
|
|
5181
5192
|
return actionArr;
|
|
@@ -5920,6 +5931,396 @@ function createRowUid(prefix, postfix) {
|
|
|
5920
5931
|
}
|
|
5921
5932
|
//# sourceMappingURL=tables.js.map
|
|
5922
5933
|
|
|
5934
|
+
/***/ }),
|
|
5935
|
+
|
|
5936
|
+
/***/ "./node_modules/@microchip/scf-automodule-impl/node_modules/@microchip/pin-standard/lib/index.js":
|
|
5937
|
+
/*!*******************************************************************************************************!*\
|
|
5938
|
+
!*** ./node_modules/@microchip/scf-automodule-impl/node_modules/@microchip/pin-standard/lib/index.js ***!
|
|
5939
|
+
\*******************************************************************************************************/
|
|
5940
|
+
/*! no static exports found */
|
|
5941
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
5942
|
+
|
|
5943
|
+
"use strict";
|
|
5944
|
+
|
|
5945
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5946
|
+
var pin_standard_1 = __webpack_require__(/*! ./pin-standard */ "./node_modules/@microchip/scf-automodule-impl/node_modules/@microchip/pin-standard/lib/pin-standard.js");
|
|
5947
|
+
exports.pin_standard = pin_standard_1.pin_standard;
|
|
5948
|
+
exports.pin_state = pin_standard_1.pin_state;
|
|
5949
|
+
exports.direction = pin_standard_1.direction;
|
|
5950
|
+
exports.behaviour = pin_standard_1.behaviour;
|
|
5951
|
+
exports.data_schema = pin_standard_1.data_schema;
|
|
5952
|
+
exports.pin_attribs_enum = pin_standard_1.pin_attribs_enum;
|
|
5953
|
+
exports.actiontype = pin_standard_1.actiontype;
|
|
5954
|
+
exports.QueryAdapterKey = pin_standard_1.QueryAdapterKey;
|
|
5955
|
+
//# sourceMappingURL=index.js.map
|
|
5956
|
+
|
|
5957
|
+
/***/ }),
|
|
5958
|
+
|
|
5959
|
+
/***/ "./node_modules/@microchip/scf-automodule-impl/node_modules/@microchip/pin-standard/lib/pin-standard.js":
|
|
5960
|
+
/*!**************************************************************************************************************!*\
|
|
5961
|
+
!*** ./node_modules/@microchip/scf-automodule-impl/node_modules/@microchip/pin-standard/lib/pin-standard.js ***!
|
|
5962
|
+
\**************************************************************************************************************/
|
|
5963
|
+
/*! no static exports found */
|
|
5964
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
5965
|
+
|
|
5966
|
+
"use strict";
|
|
5967
|
+
|
|
5968
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5969
|
+
exports.pin_standard = function () {
|
|
5970
|
+
return {
|
|
5971
|
+
interfaceId: {
|
|
5972
|
+
name: "pin-standard",
|
|
5973
|
+
version: "0.1.0",
|
|
5974
|
+
},
|
|
5975
|
+
};
|
|
5976
|
+
};
|
|
5977
|
+
var QueryAdapterKey;
|
|
5978
|
+
(function (QueryAdapterKey) {
|
|
5979
|
+
QueryAdapterKey["ALLPINS"] = "allpins";
|
|
5980
|
+
QueryAdapterKey["ALLPINS_FOR_ATTRIBS"] = "allpins_for_attribs";
|
|
5981
|
+
QueryAdapterKey["PPS"] = "pps";
|
|
5982
|
+
QueryAdapterKey["PORTMUX"] = "portmux";
|
|
5983
|
+
QueryAdapterKey["HASPPS"] = "hasPPS";
|
|
5984
|
+
})(QueryAdapterKey = exports.QueryAdapterKey || (exports.QueryAdapterKey = {}));
|
|
5985
|
+
var pin_state;
|
|
5986
|
+
(function (pin_state) {
|
|
5987
|
+
pin_state["EMPTY"] = "E";
|
|
5988
|
+
pin_state["LOCKED"] = "L";
|
|
5989
|
+
pin_state["UNLOCK"] = "UL";
|
|
5990
|
+
pin_state["DiSABLE_LOCK"] = "DL";
|
|
5991
|
+
pin_state["UNLOCKED_DISABLED"] = "DUL";
|
|
5992
|
+
pin_state["LOCKED_LINK"] = "LL";
|
|
5993
|
+
pin_state["UNLOCKED_MUX"] = "MUL";
|
|
5994
|
+
pin_state["LOCKED_CONFLICT"] = "CL";
|
|
5995
|
+
})(pin_state = exports.pin_state || (exports.pin_state = {}));
|
|
5996
|
+
var pin_interrupts_enum;
|
|
5997
|
+
(function (pin_interrupts_enum) {
|
|
5998
|
+
pin_interrupts_enum["INTDIS_BUFFEN"] = "INTDIS_BUFFEN";
|
|
5999
|
+
pin_interrupts_enum["BOTH_EDGES"] = "BOTH_EDGES";
|
|
6000
|
+
pin_interrupts_enum["RISING_EDGE"] = "RISING_EDGE";
|
|
6001
|
+
pin_interrupts_enum["FALLING_EDGE"] = "FALLING_EDGE";
|
|
6002
|
+
pin_interrupts_enum["NONE"] = "NONE";
|
|
6003
|
+
pin_interrupts_enum["LOW_LEVEL"] = "LOW_LEVEL";
|
|
6004
|
+
})(pin_interrupts_enum = exports.pin_interrupts_enum || (exports.pin_interrupts_enum = {}));
|
|
6005
|
+
var pin_attribs_enum;
|
|
6006
|
+
(function (pin_attribs_enum) {
|
|
6007
|
+
pin_attribs_enum["aliasReEx"] = "aliasReEx";
|
|
6008
|
+
pin_attribs_enum["cname"] = "cname";
|
|
6009
|
+
pin_attribs_enum["high"] = "high";
|
|
6010
|
+
pin_attribs_enum["inv"] = "inv";
|
|
6011
|
+
pin_attribs_enum["wpu"] = "wpu";
|
|
6012
|
+
pin_attribs_enum["wpd"] = "wpd";
|
|
6013
|
+
pin_attribs_enum["od"] = "od";
|
|
6014
|
+
pin_attribs_enum["analog"] = "analog";
|
|
6015
|
+
pin_attribs_enum["ioc"] = "ioc";
|
|
6016
|
+
pin_attribs_enum["intcallback"] = "intcallback";
|
|
6017
|
+
pin_attribs_enum["alias"] = "alias";
|
|
6018
|
+
pin_attribs_enum["advInpBuff"] = "advInpBuff";
|
|
6019
|
+
})(pin_attribs_enum = exports.pin_attribs_enum || (exports.pin_attribs_enum = {}));
|
|
6020
|
+
var actiontype;
|
|
6021
|
+
(function (actiontype) {
|
|
6022
|
+
actiontype["SETACTION"] = "SETACTION";
|
|
6023
|
+
actiontype["ATTRIBACTION"] = "ATTRIBACTION";
|
|
6024
|
+
})(actiontype = exports.actiontype || (exports.actiontype = {}));
|
|
6025
|
+
var direction;
|
|
6026
|
+
(function (direction) {
|
|
6027
|
+
direction["output"] = "output";
|
|
6028
|
+
direction["input"] = "input";
|
|
6029
|
+
direction["bidirectional"] = "bidirectional";
|
|
6030
|
+
})(direction = exports.direction || (exports.direction = {}));
|
|
6031
|
+
var behaviour;
|
|
6032
|
+
(function (behaviour) {
|
|
6033
|
+
behaviour["LOCK_UNLOCK"] = "LOCK_UNLOCK";
|
|
6034
|
+
behaviour["ALWAYS_LOCKED"] = "ALWAYS_LOCKED";
|
|
6035
|
+
behaviour["SINGLE_PIN_MUX"] = "SINGLE_PIN_MUX";
|
|
6036
|
+
behaviour["OPTIONAL_PIN_MUX"] = "OPTIONAL_PIN_MUX";
|
|
6037
|
+
behaviour["PPS"] = "PPS";
|
|
6038
|
+
behaviour["APFCON"] = "APFCON";
|
|
6039
|
+
behaviour["PORTMUX"] = "PORTMUX";
|
|
6040
|
+
behaviour["EXCLUSIVE_LOCK"] = "EXCLUSIVE_LOCK";
|
|
6041
|
+
behaviour["LOCKED_DISABLED"] = "LOCKED_DISABLED";
|
|
6042
|
+
})(behaviour = exports.behaviour || (exports.behaviour = {}));
|
|
6043
|
+
//------------------------------------ schema ------------------------------------//
|
|
6044
|
+
exports.data_schema = {
|
|
6045
|
+
$schema: "http://json-schema.org/draft-07/schema#",
|
|
6046
|
+
$ref: "#/definitions/intf_data",
|
|
6047
|
+
definitions: {
|
|
6048
|
+
intf_data: {
|
|
6049
|
+
type: "object",
|
|
6050
|
+
properties: {
|
|
6051
|
+
rows: {
|
|
6052
|
+
type: "array",
|
|
6053
|
+
items: {
|
|
6054
|
+
$ref: "#/definitions/pin_row",
|
|
6055
|
+
},
|
|
6056
|
+
},
|
|
6057
|
+
},
|
|
6058
|
+
required: ["rows"],
|
|
6059
|
+
additionalProperties: false,
|
|
6060
|
+
},
|
|
6061
|
+
pin_row: {
|
|
6062
|
+
type: "object",
|
|
6063
|
+
properties: {
|
|
6064
|
+
name: {
|
|
6065
|
+
type: "string",
|
|
6066
|
+
},
|
|
6067
|
+
module: {
|
|
6068
|
+
type: "string",
|
|
6069
|
+
},
|
|
6070
|
+
function: {
|
|
6071
|
+
type: "string",
|
|
6072
|
+
},
|
|
6073
|
+
direction: {
|
|
6074
|
+
$ref: "#/definitions/direction",
|
|
6075
|
+
},
|
|
6076
|
+
filter: {
|
|
6077
|
+
$ref: "#/definitions/filter",
|
|
6078
|
+
},
|
|
6079
|
+
behaviour: {
|
|
6080
|
+
$ref: "#/definitions/behaviour",
|
|
6081
|
+
},
|
|
6082
|
+
behaviourMeta: {
|
|
6083
|
+
$ref: "#/definitions/behaviourMeta",
|
|
6084
|
+
},
|
|
6085
|
+
attribs: {
|
|
6086
|
+
type: "array",
|
|
6087
|
+
items: {
|
|
6088
|
+
$ref: "#/definitions/pin_attribs",
|
|
6089
|
+
},
|
|
6090
|
+
},
|
|
6091
|
+
groupsdata: {
|
|
6092
|
+
$ref: "#/definitions/pingroups_data",
|
|
6093
|
+
},
|
|
6094
|
+
actions: {},
|
|
6095
|
+
},
|
|
6096
|
+
required: ["name", "module", "function", "direction", "filter", "behaviour"],
|
|
6097
|
+
additionalProperties: false,
|
|
6098
|
+
},
|
|
6099
|
+
direction: {
|
|
6100
|
+
type: "string",
|
|
6101
|
+
enum: ["output", "input", "bidirectional"],
|
|
6102
|
+
},
|
|
6103
|
+
filter: {
|
|
6104
|
+
type: "object",
|
|
6105
|
+
properties: {
|
|
6106
|
+
module: {
|
|
6107
|
+
type: "string",
|
|
6108
|
+
},
|
|
6109
|
+
aliasReEx: {
|
|
6110
|
+
type: "string",
|
|
6111
|
+
},
|
|
6112
|
+
},
|
|
6113
|
+
required: ["module", "aliasReEx"],
|
|
6114
|
+
additionalProperties: false,
|
|
6115
|
+
},
|
|
6116
|
+
behaviour: {
|
|
6117
|
+
type: "string",
|
|
6118
|
+
enum: [
|
|
6119
|
+
"LOCK_UNLOCK",
|
|
6120
|
+
"ALWAYS_LOCKED",
|
|
6121
|
+
"SINGLE_PIN_MUX",
|
|
6122
|
+
"OPTIONAL_PIN_MUX",
|
|
6123
|
+
"PPS",
|
|
6124
|
+
"PORTMUX",
|
|
6125
|
+
"EXCLUSIVE_LOCK",
|
|
6126
|
+
"LOCKED_DISABLED",
|
|
6127
|
+
],
|
|
6128
|
+
},
|
|
6129
|
+
behaviourMeta: {
|
|
6130
|
+
type: "object",
|
|
6131
|
+
properties: {
|
|
6132
|
+
lockPinRegEx: {
|
|
6133
|
+
type: "string",
|
|
6134
|
+
},
|
|
6135
|
+
},
|
|
6136
|
+
required: ["lockPinRegEx"],
|
|
6137
|
+
additionalProperties: false,
|
|
6138
|
+
},
|
|
6139
|
+
pin_attribs: {
|
|
6140
|
+
type: "object",
|
|
6141
|
+
properties: {
|
|
6142
|
+
aliasReEx: {
|
|
6143
|
+
type: "string",
|
|
6144
|
+
},
|
|
6145
|
+
cname: {
|
|
6146
|
+
type: "string",
|
|
6147
|
+
},
|
|
6148
|
+
high: {
|
|
6149
|
+
type: "boolean",
|
|
6150
|
+
},
|
|
6151
|
+
inv: {
|
|
6152
|
+
type: "boolean",
|
|
6153
|
+
},
|
|
6154
|
+
wpu: {
|
|
6155
|
+
type: "boolean",
|
|
6156
|
+
},
|
|
6157
|
+
wpd: {
|
|
6158
|
+
type: "boolean",
|
|
6159
|
+
},
|
|
6160
|
+
od: {
|
|
6161
|
+
type: "boolean",
|
|
6162
|
+
},
|
|
6163
|
+
analog: {
|
|
6164
|
+
type: "boolean",
|
|
6165
|
+
},
|
|
6166
|
+
ioc: {
|
|
6167
|
+
$ref: "#/definitions/pin_interrupts_enum",
|
|
6168
|
+
},
|
|
6169
|
+
bidirection_out: {
|
|
6170
|
+
type: "boolean",
|
|
6171
|
+
},
|
|
6172
|
+
},
|
|
6173
|
+
required: ["aliasReEx"],
|
|
6174
|
+
additionalProperties: false,
|
|
6175
|
+
},
|
|
6176
|
+
pin_interrupts_enum: {
|
|
6177
|
+
type: "string",
|
|
6178
|
+
enum: [
|
|
6179
|
+
"INTDIS_BUFFEN",
|
|
6180
|
+
"BOTH_EDGES",
|
|
6181
|
+
"RISING_EDGE",
|
|
6182
|
+
"FALLING_EDGE",
|
|
6183
|
+
"NONE",
|
|
6184
|
+
"LOW_LEVEL",
|
|
6185
|
+
],
|
|
6186
|
+
},
|
|
6187
|
+
pingroups_data: {
|
|
6188
|
+
type: "object",
|
|
6189
|
+
properties: {
|
|
6190
|
+
groups: {
|
|
6191
|
+
type: "array",
|
|
6192
|
+
items: {
|
|
6193
|
+
$ref: "#/definitions/pins_group",
|
|
6194
|
+
},
|
|
6195
|
+
},
|
|
6196
|
+
},
|
|
6197
|
+
required: ["groups"],
|
|
6198
|
+
additionalProperties: false,
|
|
6199
|
+
},
|
|
6200
|
+
pins_group: {
|
|
6201
|
+
type: "object",
|
|
6202
|
+
properties: {
|
|
6203
|
+
name: {
|
|
6204
|
+
type: "string",
|
|
6205
|
+
},
|
|
6206
|
+
filter: {
|
|
6207
|
+
$ref: "#/definitions/grpfilter",
|
|
6208
|
+
},
|
|
6209
|
+
datapath: {
|
|
6210
|
+
type: "string",
|
|
6211
|
+
},
|
|
6212
|
+
},
|
|
6213
|
+
required: ["name", "filter"],
|
|
6214
|
+
additionalProperties: false,
|
|
6215
|
+
},
|
|
6216
|
+
grpfilter: {
|
|
6217
|
+
type: "object",
|
|
6218
|
+
properties: {
|
|
6219
|
+
aliasReEx: {
|
|
6220
|
+
type: "string",
|
|
6221
|
+
},
|
|
6222
|
+
},
|
|
6223
|
+
required: ["aliasReEx"],
|
|
6224
|
+
additionalProperties: false,
|
|
6225
|
+
},
|
|
6226
|
+
},
|
|
6227
|
+
};
|
|
6228
|
+
//# sourceMappingURL=pin-standard.js.map
|
|
6229
|
+
|
|
6230
|
+
/***/ }),
|
|
6231
|
+
|
|
6232
|
+
/***/ "./node_modules/@microchip/scf-automodule-impl/node_modules/@microchip/scf-common/lib/Processor.js":
|
|
6233
|
+
/*!*********************************************************************************************************!*\
|
|
6234
|
+
!*** ./node_modules/@microchip/scf-automodule-impl/node_modules/@microchip/scf-common/lib/Processor.js ***!
|
|
6235
|
+
\*********************************************************************************************************/
|
|
6236
|
+
/*! no static exports found */
|
|
6237
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
6238
|
+
|
|
6239
|
+
"use strict";
|
|
6240
|
+
|
|
6241
|
+
var __assign = (this && this.__assign) || function () {
|
|
6242
|
+
__assign = Object.assign || function(t) {
|
|
6243
|
+
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
6244
|
+
s = arguments[i];
|
|
6245
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
6246
|
+
t[p] = s[p];
|
|
6247
|
+
}
|
|
6248
|
+
return t;
|
|
6249
|
+
};
|
|
6250
|
+
return __assign.apply(this, arguments);
|
|
6251
|
+
};
|
|
6252
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6253
|
+
var AlertTypes;
|
|
6254
|
+
(function (AlertTypes) {
|
|
6255
|
+
AlertTypes["Error"] = "error";
|
|
6256
|
+
AlertTypes["Warning"] = "warning";
|
|
6257
|
+
AlertTypes["Hint"] = "hint";
|
|
6258
|
+
})(AlertTypes = exports.AlertTypes || (exports.AlertTypes = {}));
|
|
6259
|
+
/**
|
|
6260
|
+
* Type guard function for SingletonProcessedResource
|
|
6261
|
+
* See User-Defined Type Guards in the Typescript Handbook on Advanced Types
|
|
6262
|
+
* @see https://www.typescriptlang.org/docs/handbook/advanced-types.html
|
|
6263
|
+
*/
|
|
6264
|
+
function hasOptions(dep) {
|
|
6265
|
+
return dep.options !== undefined;
|
|
6266
|
+
}
|
|
6267
|
+
exports.hasOptions = hasOptions;
|
|
6268
|
+
/**
|
|
6269
|
+
* Type guard function for SingletonProcessedResource
|
|
6270
|
+
* See User-Defined Type Guards in the Typescript Handbook on Advanced Types
|
|
6271
|
+
* @see https://www.typescriptlang.org/docs/handbook/advanced-types.html
|
|
6272
|
+
*/
|
|
6273
|
+
function isAssigned(dep) {
|
|
6274
|
+
return typeof dep.handle !== "undefined";
|
|
6275
|
+
}
|
|
6276
|
+
exports.isAssigned = isAssigned;
|
|
6277
|
+
/**
|
|
6278
|
+
* Type guard function for SingletonProcessedResource
|
|
6279
|
+
* See User-Defined Type Guards in the Typescript Handbook on Advanced Types
|
|
6280
|
+
* @see https://www.typescriptlang.org/docs/handbook/advanced-types.html
|
|
6281
|
+
*/
|
|
6282
|
+
function isUnassigned(dep) {
|
|
6283
|
+
return typeof dep.handle === "undefined";
|
|
6284
|
+
}
|
|
6285
|
+
exports.isUnassigned = isUnassigned;
|
|
6286
|
+
/**
|
|
6287
|
+
* Type guard function for SingletonExport
|
|
6288
|
+
* See User-Defined Type Guards in the Typescript Handbook on Advanced Types
|
|
6289
|
+
* @see https://www.typescriptlang.org/docs/handbook/advanced-types.html
|
|
6290
|
+
* @param resource the export to check on being a singleton
|
|
6291
|
+
* @deprecated No longer used. Replaced with dynamic singleton identification
|
|
6292
|
+
* at runtime.
|
|
6293
|
+
*/
|
|
6294
|
+
function isSingleton(resource) {
|
|
6295
|
+
return typeof resource.isSingleton !== "undefined" && resource.isSingleton;
|
|
6296
|
+
}
|
|
6297
|
+
exports.isSingleton = isSingleton;
|
|
6298
|
+
/**
|
|
6299
|
+
* Returns a copy of `populatedImport` with all options removed which
|
|
6300
|
+
* cause `optionFilter` to return false.
|
|
6301
|
+
*/
|
|
6302
|
+
function filterOptions(populatedImport, optionFilter) {
|
|
6303
|
+
if (populatedImport.options) {
|
|
6304
|
+
return __assign({}, populatedImport, { options: populatedImport.options.filter(optionFilter) });
|
|
6305
|
+
}
|
|
6306
|
+
return populatedImport;
|
|
6307
|
+
}
|
|
6308
|
+
exports.filterOptions = filterOptions;
|
|
6309
|
+
/**
|
|
6310
|
+
* Returns a copy of `populatedImport` with the options' handle labels
|
|
6311
|
+
* mapped according to `labelFactory`.
|
|
6312
|
+
*/
|
|
6313
|
+
function mapOptionLabels(populatedImport, labelFactory) {
|
|
6314
|
+
if (populatedImport.options) {
|
|
6315
|
+
return __assign({}, populatedImport, { options: populatedImport.options.map(function (option) {
|
|
6316
|
+
return __assign({}, option, { handle: __assign({}, option.handle, { label: labelFactory(option) }) });
|
|
6317
|
+
}) });
|
|
6318
|
+
}
|
|
6319
|
+
return populatedImport;
|
|
6320
|
+
}
|
|
6321
|
+
exports.mapOptionLabels = mapOptionLabels;
|
|
6322
|
+
|
|
6323
|
+
|
|
5923
6324
|
/***/ }),
|
|
5924
6325
|
|
|
5925
6326
|
/***/ "./node_modules/@microchip/scf-automodule-impl/node_modules/@microchip/scf-register-view-helper/lib/CreateRegisterView.js":
|
|
@@ -8445,8 +8846,7 @@ var MyDerivedData = function MyDerivedData(dataModel) {
|
|
|
8445
8846
|
|
|
8446
8847
|
_defineProperty(this, "getPinstandardArgs", function () {
|
|
8447
8848
|
var args = {
|
|
8448
|
-
queryAdapters: ["
|
|
8449
|
-
queryAdapterMap: _defineProperty({}, _microchip_pin_standard_lib_pin_standard__WEBPACK_IMPORTED_MODULE_7__["QueryAdapterKey"].ALLPINS, "^PWM[0-9]{0,1}$")
|
|
8849
|
+
queryAdapters: [_microchip_pin_standard_lib_pin_standard__WEBPACK_IMPORTED_MODULE_7__["QueryAdapterKey"].PPS, _microchip_pin_standard_lib_pin_standard__WEBPACK_IMPORTED_MODULE_7__["QueryAdapterKey"].APFCON]
|
|
8450
8850
|
};
|
|
8451
8851
|
return args;
|
|
8452
8852
|
});
|
|
@@ -8558,14 +8958,12 @@ var MyDerivedData = function MyDerivedData(dataModel) {
|
|
|
8558
8958
|
});
|
|
8559
8959
|
|
|
8560
8960
|
_defineProperty(this, "getMyAlerts", function () {
|
|
8561
|
-
var _this$dataModel$getCo2,
|
|
8961
|
+
var _this$dataModel$getCo2, _this$dataModel$getAs;
|
|
8562
8962
|
|
|
8563
8963
|
var alerts = [];
|
|
8564
8964
|
var timerSelection = (_this$dataModel$getCo2 = _this.dataModel.getComponentValue("timerSelection")) !== null && _this$dataModel$getCo2 !== void 0 ? _this$dataModel$getCo2 : "";
|
|
8565
|
-
var groupmatch = (_timerSelection$match = timerSelection.match(/^TMR([0-9])$/)) !== null && _timerSelection$match !== void 0 ? _timerSelection$match : "";
|
|
8566
|
-
var timersuffix = (groupmatch === null || groupmatch === void 0 ? void 0 : groupmatch.length) > 1 ? groupmatch[1] : "";
|
|
8567
8965
|
|
|
8568
|
-
if (_this.dataModel.getAssignedImport("Timer")
|
|
8966
|
+
if (_this.dataModel.getAssignedImport("Timer") === undefined || ((_this$dataModel$getAs = _this.dataModel.getAssignedImport("Timer")) === null || _this$dataModel$getAs === void 0 ? void 0 : _this$dataModel$getAs.options) !== undefined) {
|
|
8569
8967
|
alerts.push({
|
|
8570
8968
|
text: "Please select ".concat(timerSelection, " as the Timer Dependency."),
|
|
8571
8969
|
type: _microchip_scf_common_lib_Processor__WEBPACK_IMPORTED_MODULE_0__["AlertTypes"].Warning
|
|
@@ -8653,10 +9051,10 @@ var MyDerivedData = function MyDerivedData(dataModel) {
|
|
|
8653
9051
|
});
|
|
8654
9052
|
|
|
8655
9053
|
_defineProperty(this, "ctselTimerSetting", function () {
|
|
8656
|
-
var _this$dataModel$getCo4, _timerSelection$
|
|
9054
|
+
var _this$dataModel$getCo4, _timerSelection$match;
|
|
8657
9055
|
|
|
8658
9056
|
var timerSelection = (_this$dataModel$getCo4 = _this.dataModel.getComponentValue("timerSelection")) !== null && _this$dataModel$getCo4 !== void 0 ? _this$dataModel$getCo4 : "";
|
|
8659
|
-
var groupmatch = (_timerSelection$
|
|
9057
|
+
var groupmatch = (_timerSelection$match = timerSelection.match(/^TMR([0-9])$/)) !== null && _timerSelection$match !== void 0 ? _timerSelection$match : "";
|
|
8660
9058
|
|
|
8661
9059
|
if (groupmatch.length > 1) {
|
|
8662
9060
|
var _this$dataModel$getHa3;
|
|
@@ -8790,20 +9188,11 @@ var getCompletePinData = function getCompletePinData(appModel) {
|
|
|
8790
9188
|
}; // overrides pin data for a particular row based on model.
|
|
8791
9189
|
|
|
8792
9190
|
function getRowData(appModel, rowData) {
|
|
8793
|
-
var _appModel$
|
|
9191
|
+
var _appModel$getName, _appModel$getImportVa, _appModel$getImportVa2, _appModel$getImportVa3, _appModel$getImportVa4, _appModel$getImportVa5, _appModel$getImportVa6, _appModel$getComponen, _appModel$getComponen2, _appModel$getComponen3, _appModel$getComponen4, _appModel$getComponen5;
|
|
8794
9192
|
|
|
8795
|
-
var pwminstancename = (_appModel$getHardware = appModel.getHardware()) === null || _appModel$getHardware === void 0 ? void 0 : (_appModel$getHardware2 = _appModel$getHardware.getPeripheral()) === null || _appModel$getHardware2 === void 0 ? void 0 : _appModel$getHardware2.instance;
|
|
8796
9193
|
var moduleName = (_appModel$getName = appModel.getName()) !== null && _appModel$getName !== void 0 ? _appModel$getName : "PWM";
|
|
8797
|
-
var
|
|
8798
|
-
var
|
|
8799
|
-
var pinName = getPinName(modulePins, rowData.filter.aliasReEx);
|
|
8800
|
-
var pinBehaviour = getpinBehaviour(allPinsData, moduleName, pinName);
|
|
8801
|
-
var isPPS = pinBehaviour === "pps";
|
|
8802
|
-
var isAPFCON = pinBehaviour === "apfcon";
|
|
8803
|
-
|
|
8804
|
-
if (pinName === "") {
|
|
8805
|
-
return undefined;
|
|
8806
|
-
}
|
|
9194
|
+
var ppsData = (_appModel$getImportVa = appModel.getImportValue("pin_standard")) === null || _appModel$getImportVa === void 0 ? void 0 : (_appModel$getImportVa2 = _appModel$getImportVa["pps"]) === null || _appModel$getImportVa2 === void 0 ? void 0 : (_appModel$getImportVa3 = _appModel$getImportVa2["data"]) === null || _appModel$getImportVa3 === void 0 ? void 0 : _appModel$getImportVa3[moduleName];
|
|
9195
|
+
var apfconData = (_appModel$getImportVa4 = appModel.getImportValue("pin_standard")) === null || _appModel$getImportVa4 === void 0 ? void 0 : (_appModel$getImportVa5 = _appModel$getImportVa4["apfcon"]) === null || _appModel$getImportVa5 === void 0 ? void 0 : (_appModel$getImportVa6 = _appModel$getImportVa5["data"]) === null || _appModel$getImportVa6 === void 0 ? void 0 : _appModel$getImportVa6[moduleName];
|
|
8807
9196
|
|
|
8808
9197
|
if (rowData.name === "out") {
|
|
8809
9198
|
rowData = _objectSpread(_objectSpread({}, rowData), {}, {
|
|
@@ -8811,18 +9200,30 @@ function getRowData(appModel, rowData) {
|
|
|
8811
9200
|
"function": moduleName + "OUT",
|
|
8812
9201
|
filter: {
|
|
8813
9202
|
module: moduleName,
|
|
8814
|
-
aliasReEx: "^
|
|
9203
|
+
aliasReEx: "^".concat(moduleName, "(OUT){0,1}$")
|
|
8815
9204
|
},
|
|
8816
|
-
behaviour:
|
|
9205
|
+
behaviour: getPinBehaviour(ppsData, apfconData, rowData.filter.aliasReEx)
|
|
8817
9206
|
});
|
|
9207
|
+
|
|
9208
|
+
if (appModel.isComponentValue("pwmoePwmcon") === true && getPinBehaviour(ppsData, apfconData, rowData.filter.aliasReEx) === _microchip_pin_standard__WEBPACK_IMPORTED_MODULE_0__["behaviour"].LOCK_UNLOCK) {
|
|
9209
|
+
rowData = _objectSpread(_objectSpread({}, rowData), {}, {
|
|
9210
|
+
behaviourMeta: {
|
|
9211
|
+
lockPinRegEx: "^".concat(moduleName, "(OUT){0,1}$")
|
|
9212
|
+
}
|
|
9213
|
+
});
|
|
9214
|
+
}
|
|
8818
9215
|
} else if (rowData.name === "pwmx0") {
|
|
9216
|
+
if (appModel.getComponentValue("pwmoe0Pwmaoe") === undefined) {
|
|
9217
|
+
return undefined;
|
|
9218
|
+
}
|
|
9219
|
+
|
|
8819
9220
|
rowData = _objectSpread(_objectSpread({}, rowData), {}, {
|
|
8820
9221
|
module: moduleName,
|
|
8821
9222
|
"function": moduleName + "0OUT",
|
|
8822
9223
|
filter: _objectSpread(_objectSpread({}, rowData.filter), {}, {
|
|
8823
9224
|
module: moduleName
|
|
8824
9225
|
}),
|
|
8825
|
-
behaviour:
|
|
9226
|
+
behaviour: getPinBehaviour(ppsData, apfconData, rowData.filter.aliasReEx)
|
|
8826
9227
|
});
|
|
8827
9228
|
|
|
8828
9229
|
if (appModel.isComponentValue("pwmoe0Pwmaoe") === true) {
|
|
@@ -8833,13 +9234,17 @@ function getRowData(appModel, rowData) {
|
|
|
8833
9234
|
});
|
|
8834
9235
|
}
|
|
8835
9236
|
} else if (rowData.name === "pwmx1") {
|
|
9237
|
+
if (appModel.getComponentValue("pwmoe1Pwmaoe") === undefined) {
|
|
9238
|
+
return undefined;
|
|
9239
|
+
}
|
|
9240
|
+
|
|
8836
9241
|
rowData = _objectSpread(_objectSpread({}, rowData), {}, {
|
|
8837
9242
|
module: moduleName,
|
|
8838
9243
|
"function": moduleName + "1OUT",
|
|
8839
9244
|
filter: _objectSpread(_objectSpread({}, rowData.filter), {}, {
|
|
8840
9245
|
module: moduleName
|
|
8841
9246
|
}),
|
|
8842
|
-
behaviour:
|
|
9247
|
+
behaviour: getPinBehaviour(ppsData, apfconData, rowData.filter.aliasReEx)
|
|
8843
9248
|
});
|
|
8844
9249
|
|
|
8845
9250
|
if (appModel.isComponentValue("pwmoe1Pwmaoe") === true) {
|
|
@@ -8850,13 +9255,17 @@ function getRowData(appModel, rowData) {
|
|
|
8850
9255
|
});
|
|
8851
9256
|
}
|
|
8852
9257
|
} else if (rowData.name === "pwmx2") {
|
|
9258
|
+
if (appModel.getComponentValue("pwmoe2Pwmaoe") === undefined) {
|
|
9259
|
+
return undefined;
|
|
9260
|
+
}
|
|
9261
|
+
|
|
8853
9262
|
rowData = _objectSpread(_objectSpread({}, rowData), {}, {
|
|
8854
9263
|
module: moduleName,
|
|
8855
9264
|
"function": moduleName + "2OUT",
|
|
8856
9265
|
filter: _objectSpread(_objectSpread({}, rowData.filter), {}, {
|
|
8857
9266
|
module: moduleName
|
|
8858
9267
|
}),
|
|
8859
|
-
behaviour:
|
|
9268
|
+
behaviour: getPinBehaviour(ppsData, apfconData, rowData.filter.aliasReEx)
|
|
8860
9269
|
});
|
|
8861
9270
|
|
|
8862
9271
|
if (appModel.isComponentValue("pwmoe2Pwmaoe") === true) {
|
|
@@ -8867,13 +9276,17 @@ function getRowData(appModel, rowData) {
|
|
|
8867
9276
|
});
|
|
8868
9277
|
}
|
|
8869
9278
|
} else if (rowData.name === "pwmx3") {
|
|
9279
|
+
if (appModel.getComponentValue("pwmoe3Pwmaoe") === undefined) {
|
|
9280
|
+
return undefined;
|
|
9281
|
+
}
|
|
9282
|
+
|
|
8870
9283
|
rowData = _objectSpread(_objectSpread({}, rowData), {}, {
|
|
8871
9284
|
module: moduleName,
|
|
8872
9285
|
"function": moduleName + "3OUT",
|
|
8873
9286
|
filter: _objectSpread(_objectSpread({}, rowData.filter), {}, {
|
|
8874
9287
|
module: moduleName
|
|
8875
9288
|
}),
|
|
8876
|
-
behaviour:
|
|
9289
|
+
behaviour: getPinBehaviour(ppsData, apfconData, rowData.filter.aliasReEx)
|
|
8877
9290
|
});
|
|
8878
9291
|
|
|
8879
9292
|
if (appModel.isComponentValue("pwmoe3Pwmaoe") === true) {
|
|
@@ -8886,33 +9299,40 @@ function getRowData(appModel, rowData) {
|
|
|
8886
9299
|
}
|
|
8887
9300
|
|
|
8888
9301
|
var rowActions = [];
|
|
8889
|
-
var
|
|
8890
|
-
var
|
|
8891
|
-
var
|
|
8892
|
-
var
|
|
9302
|
+
var pwmxRegcomponent = (_appModel$getComponen = appModel.getComponent("pwmoePwmcon")) === null || _appModel$getComponen === void 0 ? void 0 : _appModel$getComponen.component;
|
|
9303
|
+
var pwmx0Regcomponent = (_appModel$getComponen2 = appModel.getComponent("pwmoe0Pwmaoe")) === null || _appModel$getComponen2 === void 0 ? void 0 : _appModel$getComponen2.component;
|
|
9304
|
+
var pwmx1Regcomponent = (_appModel$getComponen3 = appModel.getComponent("pwmoe1Pwmaoe")) === null || _appModel$getComponen3 === void 0 ? void 0 : _appModel$getComponen3.component;
|
|
9305
|
+
var pwmx2Regcomponent = (_appModel$getComponen4 = appModel.getComponent("pwmoe2Pwmaoe")) === null || _appModel$getComponen4 === void 0 ? void 0 : _appModel$getComponen4.component;
|
|
9306
|
+
var pwmx3Regcomponent = (_appModel$getComponen5 = appModel.getComponent("pwmoe3Pwmaoe")) === null || _appModel$getComponen5 === void 0 ? void 0 : _appModel$getComponen5.component;
|
|
8893
9307
|
|
|
8894
|
-
if (
|
|
9308
|
+
if (pwmxRegcomponent && getPinBehaviour(ppsData, apfconData, "^".concat(moduleName, "(OUT){0,1}$")) === _microchip_pin_standard__WEBPACK_IMPORTED_MODULE_0__["behaviour"].LOCK_UNLOCK) {
|
|
8895
9309
|
var _appModel$getPCPHelpe;
|
|
8896
9310
|
|
|
8897
|
-
rowActions = rowActions.concat((_appModel$getPCPHelpe = appModel.getPCPHelper) === null || _appModel$getPCPHelpe === void 0 ? void 0 : _appModel$getPCPHelpe.call(appModel).stateActionBuilder(rowData).rowWithName("
|
|
9311
|
+
rowActions = rowActions.concat((_appModel$getPCPHelpe = appModel.getPCPHelper) === null || _appModel$getPCPHelpe === void 0 ? void 0 : _appModel$getPCPHelpe.call(appModel).stateActionBuilder(rowData).rowWithName("out").forComponent(pwmxRegcomponent).addIfLockedSetValue("^" + moduleName + "$", true).addIfUnLockedSetValue(".*", false).build());
|
|
8898
9312
|
}
|
|
8899
9313
|
|
|
8900
|
-
if (
|
|
9314
|
+
if (pwmx0Regcomponent) {
|
|
8901
9315
|
var _appModel$getPCPHelpe2;
|
|
8902
9316
|
|
|
8903
|
-
rowActions = rowActions.concat((_appModel$getPCPHelpe2 = appModel.getPCPHelper) === null || _appModel$getPCPHelpe2 === void 0 ? void 0 : _appModel$getPCPHelpe2.call(appModel).stateActionBuilder(rowData).rowWithName("
|
|
9317
|
+
rowActions = rowActions.concat((_appModel$getPCPHelpe2 = appModel.getPCPHelper) === null || _appModel$getPCPHelpe2 === void 0 ? void 0 : _appModel$getPCPHelpe2.call(appModel).stateActionBuilder(rowData).rowWithName("pwmx0").forComponent(pwmx0Regcomponent).addIfLockedSetValue(moduleName + "0", true).addIfUnLockedSetValue(".*", false).build());
|
|
8904
9318
|
}
|
|
8905
9319
|
|
|
8906
|
-
if (
|
|
9320
|
+
if (pwmx1Regcomponent) {
|
|
8907
9321
|
var _appModel$getPCPHelpe3;
|
|
8908
9322
|
|
|
8909
|
-
rowActions = rowActions.concat((_appModel$getPCPHelpe3 = appModel.getPCPHelper) === null || _appModel$getPCPHelpe3 === void 0 ? void 0 : _appModel$getPCPHelpe3.call(appModel).stateActionBuilder(rowData).rowWithName("
|
|
9323
|
+
rowActions = rowActions.concat((_appModel$getPCPHelpe3 = appModel.getPCPHelper) === null || _appModel$getPCPHelpe3 === void 0 ? void 0 : _appModel$getPCPHelpe3.call(appModel).stateActionBuilder(rowData).rowWithName("pwmx1").forComponent(pwmx1Regcomponent).addIfLockedSetValue(moduleName + "1", true).addIfUnLockedSetValue(".*", false).build());
|
|
8910
9324
|
}
|
|
8911
9325
|
|
|
8912
|
-
if (
|
|
9326
|
+
if (pwmx2Regcomponent) {
|
|
8913
9327
|
var _appModel$getPCPHelpe4;
|
|
8914
9328
|
|
|
8915
|
-
rowActions = rowActions.concat((_appModel$getPCPHelpe4 = appModel.getPCPHelper) === null || _appModel$getPCPHelpe4 === void 0 ? void 0 : _appModel$getPCPHelpe4.call(appModel).stateActionBuilder(rowData).rowWithName("
|
|
9329
|
+
rowActions = rowActions.concat((_appModel$getPCPHelpe4 = appModel.getPCPHelper) === null || _appModel$getPCPHelpe4 === void 0 ? void 0 : _appModel$getPCPHelpe4.call(appModel).stateActionBuilder(rowData).rowWithName("pwmx2").forComponent(pwmx2Regcomponent).addIfLockedSetValue(moduleName + "2", true).addIfUnLockedSetValue(".*", false).build());
|
|
9330
|
+
}
|
|
9331
|
+
|
|
9332
|
+
if (pwmx3Regcomponent) {
|
|
9333
|
+
var _appModel$getPCPHelpe5;
|
|
9334
|
+
|
|
9335
|
+
rowActions = rowActions.concat((_appModel$getPCPHelpe5 = appModel.getPCPHelper) === null || _appModel$getPCPHelpe5 === void 0 ? void 0 : _appModel$getPCPHelpe5.call(appModel).stateActionBuilder(rowData).rowWithName("pwmx3").forComponent(pwmx3Regcomponent).addIfLockedSetValue(moduleName + "3", true).addIfUnLockedSetValue(".*", false).build());
|
|
8916
9336
|
}
|
|
8917
9337
|
|
|
8918
9338
|
rowData = _objectSpread(_objectSpread({}, rowData), {}, {
|
|
@@ -8921,48 +9341,37 @@ function getRowData(appModel, rowData) {
|
|
|
8921
9341
|
return rowData;
|
|
8922
9342
|
}
|
|
8923
9343
|
|
|
8924
|
-
var
|
|
8925
|
-
var
|
|
9344
|
+
var getPinBehaviour = function getPinBehaviour(ppsPins, apfconPins, pinRegEx) {
|
|
9345
|
+
var tempPinBehaviour = _microchip_pin_standard__WEBPACK_IMPORTED_MODULE_0__["behaviour"].LOCK_UNLOCK;
|
|
8926
9346
|
|
|
8927
|
-
|
|
8928
|
-
var
|
|
8929
|
-
|
|
8930
|
-
|
|
8931
|
-
|
|
8932
|
-
|
|
8933
|
-
|
|
8934
|
-
|
|
9347
|
+
if (ppsPins !== undefined) {
|
|
9348
|
+
for (var ppsPin in ppsPins) {
|
|
9349
|
+
if (ppsPin === "pps_out") {
|
|
9350
|
+
for (var ppsOut in ppsPins["pps_out"]) {
|
|
9351
|
+
if (ppsOut.match(new RegExp(pinRegEx, "ig"))) {
|
|
9352
|
+
tempPinBehaviour = _microchip_pin_standard__WEBPACK_IMPORTED_MODULE_0__["behaviour"].PPS;
|
|
9353
|
+
break;
|
|
9354
|
+
}
|
|
9355
|
+
}
|
|
9356
|
+
} else {
|
|
9357
|
+
if (ppsPin.match(new RegExp(pinRegEx, "ig"))) {
|
|
9358
|
+
tempPinBehaviour = _microchip_pin_standard__WEBPACK_IMPORTED_MODULE_0__["behaviour"].PPS;
|
|
9359
|
+
break;
|
|
9360
|
+
}
|
|
8935
9361
|
}
|
|
8936
9362
|
}
|
|
8937
9363
|
}
|
|
8938
9364
|
|
|
8939
|
-
|
|
8940
|
-
|
|
8941
|
-
|
|
8942
|
-
|
|
8943
|
-
|
|
8944
|
-
|
|
8945
|
-
if (pin.match(new RegExp(regEx, "g"))) {
|
|
8946
|
-
pinName = pin;
|
|
8947
|
-
}
|
|
8948
|
-
});
|
|
8949
|
-
return pinName;
|
|
8950
|
-
};
|
|
8951
|
-
|
|
8952
|
-
var getpinBehaviour = function getpinBehaviour(allPins, moduleName, pinName) {
|
|
8953
|
-
for (var portPin in allPins) {
|
|
8954
|
-
var _allPins$portPin2, _allPins$portPin2$mod;
|
|
8955
|
-
|
|
8956
|
-
var pinData = (_allPins$portPin2 = allPins[portPin]) === null || _allPins$portPin2 === void 0 ? void 0 : (_allPins$portPin2$mod = _allPins$portPin2[moduleName]) === null || _allPins$portPin2$mod === void 0 ? void 0 : _allPins$portPin2$mod[pinName];
|
|
8957
|
-
|
|
8958
|
-
if (pinData === null || pinData === void 0 ? void 0 : pinData["pps"]) {
|
|
8959
|
-
return "pps";
|
|
8960
|
-
} else if (pinData === null || pinData === void 0 ? void 0 : pinData["apfcon"]) {
|
|
8961
|
-
return "apfcon";
|
|
9365
|
+
if (apfconPins !== undefined) {
|
|
9366
|
+
for (var apfconPin in apfconPins) {
|
|
9367
|
+
if (apfconPin.match(new RegExp(pinRegEx, "ig"))) {
|
|
9368
|
+
tempPinBehaviour = _microchip_pin_standard__WEBPACK_IMPORTED_MODULE_0__["behaviour"].APFCON;
|
|
9369
|
+
break;
|
|
9370
|
+
}
|
|
8962
9371
|
}
|
|
8963
9372
|
}
|
|
8964
9373
|
|
|
8965
|
-
return
|
|
9374
|
+
return tempPinBehaviour;
|
|
8966
9375
|
};
|
|
8967
9376
|
|
|
8968
9377
|
/***/ }),
|
|
@@ -9161,7 +9570,7 @@ var Interface = {
|
|
|
9161
9570
|
/*! exports provided: moduleName, deviceType, booleanValues, UIGroups, UIOrder, hasPins, tabs, help, analytics, templates, imports, exports, softwareData, peripherals, default */
|
|
9162
9571
|
/***/ (function(module) {
|
|
9163
9572
|
|
|
9164
|
-
module.exports = JSON.parse("{\"moduleName\":\"PWM\",\"deviceType\":\"PIC\",\"booleanValues\":{\"true\":\"enabled\",\"false\":\"disabled\"},\"UIGroups\":{\"software\":\"Software Settings\",\"hardware\":\"Hardware Settings\",\"additional\":\"Additional Pin Settings\"},\"UIOrder\":{\"software\":[\"*\"],\"hardware\":[\"pwmenPwmcon\",\"pwmoePwmcon\",\"timerSelection\",\"dutyCycle\",\"pwmdcValue\",\"pwmpolPwmcon\",\"pwmPeriod\",\"pwmFrequency\",\"pwmResolution\",\"*\"],\"additional\":[\"*\"]},\"hasPins\":true,\"tabs\":{\"main\":\"Easy View\",\"register\":\"Register Initialization\"},\"help\":{\"url\":\"v2/keyword-lookup?keyword=scf-pic8-pwm-v2&redirect=true\",\"tooltip\":\"Click here to open documentation.\"},\"analytics\":{\"logAlwaysComps\":[\"pwmenPwmcon\",\"pwmFrequency\",\"pwmResolution\"],\"logOnChangeComps\":[],\"compMapping\":{\"pwmenPwmcon\":\"PWM_Enable\",\"pwmFrequency\":\"PWM_Frequency\",\"pwmResolution\":\"PWM_Resolution\"}},\"templates\":[{\"src\":\"output/pwm-v2.c.ftl\",\"dest\":\"pwm/src/${sourceFileName}\",\"generateWithHardware\":true},{\"src\":\"output/pwm-v2.h.ftl\",\"dest\":\"pwm/${headerFileName}\",\"generateWithHardware\":true}],\"imports\":{\"initializer_system\":{\"nodeModule\":{\"importName\":\"systemInit\",\"node\":\"@microchip/initializer-system\"},\"import\":{\"interfaceId\":{\"name\":\"initializer-system\",\"version\":\"^0
|
|
9573
|
+
module.exports = JSON.parse("{\"moduleName\":\"PWM\",\"deviceType\":\"PIC\",\"booleanValues\":{\"true\":\"enabled\",\"false\":\"disabled\"},\"UIGroups\":{\"software\":\"Software Settings\",\"hardware\":\"Hardware Settings\",\"additional\":\"Additional Pin Settings\"},\"UIOrder\":{\"software\":[\"*\"],\"hardware\":[\"pwmenPwmcon\",\"pwmoePwmcon\",\"timerSelection\",\"dutyCycle\",\"pwmdcValue\",\"pwmpolPwmcon\",\"pwmPeriod\",\"pwmFrequency\",\"pwmResolution\",\"*\"],\"additional\":[\"pwmoe0Pwmaoe\",\"pwmoe1Pwmaoe\",\"pwmoe2Pwmaoe\",\"pwmoe3Pwmaoe\",\"*\"]},\"hasPins\":true,\"tabs\":{\"main\":\"Easy View\",\"register\":\"Register Initialization\"},\"help\":{\"url\":\"v2/keyword-lookup?keyword=scf-pic8-pwm-v2&redirect=true\",\"tooltip\":\"Click here to open documentation.\"},\"analytics\":{\"logAlwaysComps\":[\"pwmenPwmcon\",\"pwmFrequency\",\"pwmResolution\",\"pwmoePwmcon\"],\"logOnChangeComps\":[],\"compMapping\":{\"pwmenPwmcon\":\"PWM_Enable\",\"pwmFrequency\":\"PWM_Frequency\",\"pwmResolution\":\"PWM_Resolution\",\"pwmoePwmcon\":\"PWM_OutputEnable\"}},\"templates\":[{\"src\":\"output/pwm-v2.c.ftl\",\"dest\":\"pwm/src/${sourceFileName}\",\"generateWithHardware\":true},{\"src\":\"output/pwm-v2.h.ftl\",\"dest\":\"pwm/${headerFileName}\",\"generateWithHardware\":true}],\"imports\":{\"initializer_system\":{\"nodeModule\":{\"importName\":\"systemInit\",\"node\":\"@microchip/initializer-system\"},\"import\":{\"interfaceId\":{\"name\":\"initializer-system\",\"version\":\"^0\"}}},\"scf_pic8_pwm_v2\":{\"import\":{\"interfaceId\":{\"name\":\"scf-pic8-pwm-v2\",\"version\":\"1.0.0\"},\"isRequired\":true}},\"osc_clocks\":{\"import\":{\"interfaceId\":{\"name\":\"osc-clocks\",\"version\":\"^0\"}}},\"Timer\":{\"import\":{\"interfaceId\":{\"name\":\"timer-2-4-6-general-parameters\",\"version\":\"^0\"}}},\"pin_standard\":{\"import\":{\"interfaceId\":{\"name\":\"pin-standard\",\"version\":\"^0\"}}},\"device_meta\":{\"import\":{\"interfaceId\":{\"name\":\"device-meta\",\"version\":\"^1.*\"}}}},\"exports\":{\"pwm_general\":{\"interfaces\":[{\"interfaceId\":{\"name\":\"pwm_general_parameters\",\"version\":\"0.1.0\"}}]}},\"softwareData\":{\"componentName\":{\"name\":\"componentName\",\"description\":\"Custom Name\",\"type\":\"string\",\"defaultValue\":\"PWM\",\"group\":\"software\",\"tabs\":[\"main\"],\"category\":\"software\",\"validation\":true},\"tmr2Dependency\":{\"name\":\"tmr2Dependency\",\"description\":\"Timer Dependency Selector\",\"category\":\"import\",\"type\":\"ComboBox\",\"group\":\"software\",\"tabs\":[\"main\"],\"importId\":\"Timer\"},\"timerSelection\":{\"name\":\"timerSelection\",\"description\":\"Select a Timer\",\"type\":\"ComboBox\",\"group\":\"hardware\",\"defaultValue\":{\"value\":\"TMR2\",\"options\":[\"TMR2\",\"TMR4\",\"TMR6\"]},\"tabs\":[\"main\"],\"category\":\"software\",\"sdlHelp\":{\"tooltip\":\"Click for more Information\",\"url\":\"v2/keyword-lookup?keyword=atmel;device:${deviceName};register:${registerName}&redirect=true\"}},\"dutyCycle\":{\"name\":\"dutyCycle\",\"description\":\"Duty Cycle (%)\",\"type\":\"number\",\"defaultValue\":50,\"group\":\"hardware\",\"validation\":true,\"tabs\":[\"main\"],\"category\":\"software\",\"sdlHelp\":{\"tooltip\":\"Click for more Information\",\"url\":\"v2/keyword-lookup?keyword=atmel;device:${deviceName};register:${instance}DC&redirect=true\"}},\"pwmdcValue\":{\"name\":\"pwmdcValue\",\"description\":\"PWMDC Value\",\"type\":\"number\",\"defaultValue\":0,\"group\":\"hardware\",\"uiBehavior\":{\"readonly\":true},\"tabs\":[\"main\"],\"category\":\"software\",\"sdlHelp\":{\"tooltip\":\"Click for more Information\",\"url\":\"v2/keyword-lookup?keyword=atmel;device:${deviceName};register:${instance}DC&redirect=true\"}},\"pwmPeriod\":{\"name\":\"pwmPeriod\",\"description\":\"PWM Period (s)\",\"type\":\"number\",\"defaultValue\":0,\"group\":\"hardware\",\"uiBehavior\":{\"readonly\":true},\"tabs\":[\"main\"],\"category\":\"software\"},\"pwmFrequency\":{\"name\":\"pwmFrequency\",\"description\":\"PWM Frequency (Hz)\",\"type\":\"number\",\"defaultValue\":0,\"group\":\"hardware\",\"uiBehavior\":{\"readonly\":true},\"tabs\":[\"main\"],\"category\":\"software\"},\"pwmResolution\":{\"name\":\"pwmResolution\",\"description\":\"PWM Resolution (bits)\",\"type\":\"number\",\"defaultValue\":0,\"group\":\"hardware\",\"uiBehavior\":{\"readonly\":true},\"tabs\":[\"main\"],\"category\":\"software\"}},\"peripherals\":[{\"interfaceId\":{\"name\":\"scf-pic8-pwm-v2\",\"version\":\"1.0.0\"},\"registers\":{\"PWMTMRS\":[{\"setting\":\"CTSEL\",\"name\":\"ctselPwmtmrs\",\"category\":\"hardware\",\"description\":\"Insert Description Here\",\"type\":\"ComboBox\",\"group\":\"hardware\",\"tabs\":[\"register\"]}],\"CCPTMRS1\":[{\"setting\":\"CTSEL\",\"name\":\"ctselCcptmrs1\",\"description\":\"Insert Description Here\",\"type\":\"ComboBox\",\"group\":\"hardware\",\"tabs\":[\"register\"],\"category\":\"hardware\"}],\"CCPTMRS\":[{\"setting\":\"CTSEL\",\"name\":\"ctselCcptmrs\",\"category\":\"hardware\",\"description\":\"Insert Description Here\",\"type\":\"ComboBox\",\"group\":\"hardware\",\"tabs\":[\"register\"]}],\"PWMCON\":[{\"setting\":\"PWMPOL\",\"name\":\"pwmpolPwmcon\",\"description\":\"PWM Polarity\",\"type\":\"ComboBox\",\"group\":\"hardware\",\"tabs\":[\"main\"],\"category\":\"hardware\",\"sdlHelp\":{\"tooltip\":\"Click for more Information\",\"url\":\"v2/keyword-lookup?keyword=atmel;device:${deviceName};register:${registerName}&redirect=true\"}},{\"setting\":\"PWMOE\",\"name\":\"pwmoePwmcon\",\"category\":\"hardware\",\"description\":\"Output Enable\",\"type\":\"boolean\",\"group\":\"hardware\",\"tabs\":[\"main\"],\"sdlHelp\":{\"tooltip\":\"Click for more Information\",\"url\":\"v2/keyword-lookup?keyword=atmel;device:${deviceName};register:${registerName}&redirect=true\"}},{\"setting\":\"PWMOUT\",\"name\":\"pwmoutPwmcon\",\"description\":\"Insert Description Here\",\"type\":\"boolean\",\"group\":\"hardware\",\"tabs\":[\"register\"],\"category\":\"hardware\"},{\"setting\":\"PWMEN\",\"name\":\"pwmenPwmcon\",\"description\":\"PWM Enable\",\"type\":\"boolean\",\"group\":\"hardware\",\"overrideDefaultValue\":\"enabled\",\"tabs\":[\"main\"],\"category\":\"hardware\",\"sdlHelp\":{\"tooltip\":\"Click for more Information\",\"url\":\"v2/keyword-lookup?keyword=atmel;device:${deviceName};register:${registerName}&redirect=true\"}}],\"PWMAOE\":[{\"setting\":\"PWMOE0\",\"name\":\"pwmoe0Pwmaoe\",\"category\":\"hardware\",\"description\":\"Enable Additional Output 1\",\"type\":\"boolean\",\"group\":\"additional\",\"tabs\":[\"main\"]},{\"setting\":\"PWMOE1\",\"name\":\"pwmoe1Pwmaoe\",\"category\":\"hardware\",\"description\":\"Enable Additional Output 2\",\"type\":\"boolean\",\"group\":\"additional\",\"tabs\":[\"main\"]},{\"setting\":\"PWMOE2\",\"name\":\"pwmoe2Pwmaoe\",\"category\":\"hardware\",\"description\":\"Enable Additional Output 3\",\"type\":\"boolean\",\"group\":\"additional\",\"tabs\":[\"main\"]},{\"setting\":\"PWMOE3\",\"name\":\"pwmoe3Pwmaoe\",\"category\":\"hardware\",\"description\":\"Enable Additional Output 4\",\"type\":\"boolean\",\"group\":\"additional\",\"tabs\":[\"main\"]}],\"PWMDCH\":[{\"setting\":\"PWMDCH\",\"name\":\"pwmdchPwmdch\",\"description\":\"Insert Description Here\",\"type\":\"string\",\"group\":\"hardware\",\"tabs\":[\"register\"],\"category\":\"hardware\"}],\"PWMDCL\":[{\"setting\":\"PWMDCL\",\"name\":\"pwmdclPwmdcl\",\"description\":\"Insert Description Here\",\"type\":\"string\",\"group\":\"hardware\",\"tabs\":[\"register\"],\"category\":\"hardware\"}]}}]}");
|
|
9165
9574
|
|
|
9166
9575
|
/***/ }),
|
|
9167
9576
|
|
|
@@ -9172,7 +9581,7 @@ module.exports = JSON.parse("{\"moduleName\":\"PWM\",\"deviceType\":\"PIC\",\"bo
|
|
|
9172
9581
|
/*! exports provided: rows, default */
|
|
9173
9582
|
/***/ (function(module) {
|
|
9174
9583
|
|
|
9175
|
-
module.exports = JSON.parse("{\"rows\":[{\"name\":\"out\",\"module\":\"
|
|
9584
|
+
module.exports = JSON.parse("{\"rows\":[{\"name\":\"out\",\"module\":\"PWM1\",\"function\":\"PWM1\",\"direction\":\"output\",\"filter\":{\"module\":\"PWM1\",\"aliasReEx\":\"^PWM\\\\d(OUT){0,1}$\"},\"behaviour\":\"PPS\"},{\"name\":\"pwmx0\",\"module\":\"PWM1\",\"function\":\"PWM10OUT\",\"direction\":\"output\",\"filter\":{\"module\":\"PWM1\",\"aliasReEx\":\"^PWM[0-9]0(OUT){0,1}$\"},\"behaviour\":\"PPS\"},{\"name\":\"pwmx1\",\"module\":\"PWM1\",\"function\":\"PWM10OUT\",\"direction\":\"output\",\"filter\":{\"module\":\"PWM1\",\"aliasReEx\":\"^PWM[0-9]1(OUT){0,1}$\"},\"behaviour\":\"PPS\"},{\"name\":\"pwmx2\",\"module\":\"PWM1\",\"function\":\"PWM10OUT\",\"direction\":\"output\",\"filter\":{\"module\":\"PWM1\",\"aliasReEx\":\"^PWM[0-9]2(OUT){0,1}$\"},\"behaviour\":\"PPS\"},{\"name\":\"pwmx3\",\"module\":\"PWM1\",\"function\":\"PWM10OUT\",\"direction\":\"output\",\"filter\":{\"module\":\"PWM1\",\"aliasReEx\":\"^PWM[0-9]3(OUT){0,1}$\"},\"behaviour\":\"PPS\"}]}");
|
|
9176
9585
|
|
|
9177
9586
|
/***/ })
|
|
9178
9587
|
|