rp2040js 0.17.12 → 0.17.13
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.
|
@@ -79,10 +79,16 @@ class RPIO extends peripheral_1.BasePeripheral {
|
|
|
79
79
|
pin.updateIRQValue(pinRawWriteValue);
|
|
80
80
|
break;
|
|
81
81
|
case PROC0_INTE0:
|
|
82
|
-
pin.irqEnableMask
|
|
82
|
+
if (pin.irqEnableMask !== pinValue) {
|
|
83
|
+
pin.irqEnableMask = pinValue;
|
|
84
|
+
this.rp2040.updateIOInterrupt();
|
|
85
|
+
}
|
|
83
86
|
break;
|
|
84
87
|
case PROC0_INTF0:
|
|
85
|
-
pin.irqForceMask
|
|
88
|
+
if (pin.irqForceMask !== pinValue) {
|
|
89
|
+
pin.irqForceMask = pinValue;
|
|
90
|
+
this.rp2040.updateIOInterrupt();
|
|
91
|
+
}
|
|
86
92
|
break;
|
|
87
93
|
}
|
|
88
94
|
}
|
|
@@ -76,10 +76,16 @@ export class RPIO extends BasePeripheral {
|
|
|
76
76
|
pin.updateIRQValue(pinRawWriteValue);
|
|
77
77
|
break;
|
|
78
78
|
case PROC0_INTE0:
|
|
79
|
-
pin.irqEnableMask
|
|
79
|
+
if (pin.irqEnableMask !== pinValue) {
|
|
80
|
+
pin.irqEnableMask = pinValue;
|
|
81
|
+
this.rp2040.updateIOInterrupt();
|
|
82
|
+
}
|
|
80
83
|
break;
|
|
81
84
|
case PROC0_INTF0:
|
|
82
|
-
pin.irqForceMask
|
|
85
|
+
if (pin.irqForceMask !== pinValue) {
|
|
86
|
+
pin.irqForceMask = pinValue;
|
|
87
|
+
this.rp2040.updateIOInterrupt();
|
|
88
|
+
}
|
|
83
89
|
break;
|
|
84
90
|
}
|
|
85
91
|
}
|