We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent af0263a commit a9fa694Copy full SHA for a9fa694
cores/arduino/WInterrupts.c
@@ -88,6 +88,7 @@ void attachInterrupt(uint32_t pin, voidFuncPtr callback, uint32_t mode)
88
89
// Configure the interrupt mode
90
pos = (in - (8 * config)) << 2;
91
+ EIC->CONFIG[config].reg &=~ (EIC_CONFIG_SENSE0_Msk << pos);//reset sense mode, important when changing trigger mode during runtime
92
switch (mode)
93
{
94
case LOW:
0 commit comments