@mchp-mcc/scf-pic8-interrupt-v3 1.0.2 → 1.0.4
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 +5 -12
- package/Readme.md +5 -12
- package/output/autoCreator.js +4 -4
- package/output/autoCreator.js.map +1 -1
- package/output/autoProcessor.js +4 -4
- package/output/autoProcessor.js.map +1 -1
- package/output/creator.js +4 -4
- package/output/creator.js.map +1 -1
- package/output/interrupt_manager_priorityDisabled.c.ftl +4 -4
- package/output/interrupt_manager_priorityDisabled.h.ftl +10 -10
- package/output/processor.js +4 -4
- package/output/processor.js.map +1 -1
- package/package.json +5 -7
package/Changelog.md
CHANGED
|
@@ -1,20 +1,13 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
All notable changes to this project will be documented in this file.
|
|
3
3
|
|
|
4
|
-
## [1.0.
|
|
4
|
+
## [1.0.4] - 2026-04-10
|
|
5
5
|
|
|
6
6
|
### Bug Fixes
|
|
7
|
-
- **
|
|
7
|
+
- **M8PD-18093** :- The Timer0 interrupt was reconfigured to operate independently of the peripheral interrupt within the ISR.
|
|
8
8
|
|
|
9
9
|
|
|
10
|
-
## [1.0.
|
|
10
|
+
## [1.0.3] - 2024-09-25
|
|
11
11
|
|
|
12
|
-
### New Features
|
|
13
|
-
- **
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
## [1.0.0] - 2023-04-20
|
|
17
|
-
|
|
18
|
-
### New Features
|
|
19
|
-
- **CC8SCRIP-15208** :- Added support for PIC12/16(L)F182x/4x device family
|
|
20
|
-
- **CC8SCRIP-12780** :- Added support for PIC16(L)F194x/193x Device family
|
|
12
|
+
### New Features and Improvements
|
|
13
|
+
- **M8PD-10406** :- Generation of module ISR call inside legacy Interrupt Routine when "Generate MODULE ISR" component is enabled in the dependent module GUI
|
package/Readme.md
CHANGED
|
@@ -7,20 +7,13 @@ The Interrupt Manager configures the interrupt and handles the interrupt request
|
|
|
7
7
|
# Changelog
|
|
8
8
|
All notable changes to this project will be documented in this file.
|
|
9
9
|
|
|
10
|
-
## [1.0.
|
|
10
|
+
## [1.0.4] - 2026-04-10
|
|
11
11
|
|
|
12
12
|
### Bug Fixes
|
|
13
|
-
- **
|
|
13
|
+
- **M8PD-18093** :- The Timer0 interrupt was reconfigured to operate independently of the peripheral interrupt within the ISR.
|
|
14
14
|
|
|
15
15
|
|
|
16
|
-
## [1.0.
|
|
16
|
+
## [1.0.3] - 2024-09-25
|
|
17
17
|
|
|
18
|
-
### New Features
|
|
19
|
-
- **
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
## [1.0.0] - 2023-04-20
|
|
23
|
-
|
|
24
|
-
### New Features
|
|
25
|
-
- **CC8SCRIP-15208** :- Added support for PIC12/16(L)F182x/4x device family
|
|
26
|
-
- **CC8SCRIP-12780** :- Added support for PIC16(L)F194x/193x Device family
|
|
18
|
+
### New Features and Improvements
|
|
19
|
+
- **M8PD-10406** :- Generation of module ISR call inside legacy Interrupt Routine when "Generate MODULE ISR" component is enabled in the dependent module GUI
|
package/output/autoCreator.js
CHANGED
|
@@ -3870,9 +3870,9 @@ var MyDerivedData = function MyDerivedData(dataModel) {
|
|
|
3870
3870
|
var initSectionMessage = "// If using interrupts in PIC18 High/Low Priority Mode you need to enable the Global High and Low Interrupts \n" + " // If using interrupts in PIC Mid-Range Compatibility Mode you need to enable the Global and Peripheral Interrupts \n" + " // Use the following macros to: \n\n";
|
|
3871
3871
|
|
|
3872
3872
|
if (!_this.getModel().isComponentValue("ipenIntcon")) {
|
|
3873
|
-
initSectionMessage += " // Enable the
|
|
3873
|
+
initSectionMessage += " // Enable the Peripheral Interrupts \n" + " //INTERRUPT_PeripheralInterruptEnable(); \n" + " // Disable the Peripheral Interrupts \n" + " //INTERRUPT_PeripheralInterruptDisable(); \n\n" + " // Enable the Global Interrupts \n" + " //INTERRUPT_GlobalInterruptEnable(); \n" + " // Disable the Global Interrupts \n" + " //INTERRUPT_GlobalInterruptDisable(); \n\n";
|
|
3874
3874
|
} else {
|
|
3875
|
-
initSectionMessage += " // Enable the
|
|
3875
|
+
initSectionMessage += " // Enable the Peripheral Interrupts \n" + " //INTERRUPT_PeripheralInterruptEnable(); \n" + " // Disable the Peripheral Interrupts \n" + " //INTERRUPT_PeripheralInterruptDisable(); \n" + " // Enable the Global High Interrupts \n\n" + " //INTERRUPT_GlobalInterruptHighEnable(); \n" + " // Disable the Global High Interrupts \n" + " //INTERRUPT_GlobalInterruptHighDisable(); \n\n" + " // Enable the Global Low Interrupts \n" + " //INTERRUPT_GlobalInterruptLowEnable(); \n" + " // Disable the Global Low Interrupts \n" + " //INTERRUPT_GlobalInterruptLowDisable(); \n\n";
|
|
3876
3876
|
}
|
|
3877
3877
|
|
|
3878
3878
|
return {
|
|
@@ -3993,10 +3993,10 @@ var getGeneratorModel = function getGeneratorModel(model, noPrioIntList) {
|
|
|
3993
3993
|
if (!registerValues) return {};
|
|
3994
3994
|
var pieAvailable = (registerValues === null || registerValues === void 0 ? void 0 : (_registerValues$INTCO = registerValues["INTCON"]) === null || _registerValues$INTCO === void 0 ? void 0 : (_registerValues$INTCO2 = _registerValues$INTCO.settings) === null || _registerValues$INTCO2 === void 0 ? void 0 : _registerValues$INTCO2.PEIE) != undefined;
|
|
3995
3995
|
highInterrupts = noPrioIntList.filter(function (interrupt) {
|
|
3996
|
-
return interrupt.
|
|
3996
|
+
return interrupt.generateISR;
|
|
3997
3997
|
}).map(function (data) {
|
|
3998
3998
|
return _objectSpread(_objectSpread({}, data), {}, {
|
|
3999
|
-
isPeripheralInterrupt: data.module !== _Constants__WEBPACK_IMPORTED_MODULE_0__["EXTINT_NAME"] && data.module !== "PIN_MANAGER"
|
|
3999
|
+
isPeripheralInterrupt: data.module !== _Constants__WEBPACK_IMPORTED_MODULE_0__["EXTINT_NAME"] && data.module !== "PIN_MANAGER" && data.module !== "TMR0"
|
|
4000
4000
|
});
|
|
4001
4001
|
});
|
|
4002
4002
|
extIntList = (_extIntList = extIntList).concat.apply(_extIntList, _toConsumableArray(noPrioIntList.filter(function (data) {
|