I wonder if I could pick your brains. On my ATMega640 I’ve got an ISR (external interrupt source) which I would like to use to signal to the highest priority task that the device is being tampered with.
I’ve thought of setting a semaphore but that won’t do for me. This high priority task spends most of it’s time sleeping after a call to vTaskDelayUntil()…
Any clues as to how I could wake this task up from the ISR?
There doesn’t seem to be a portYIELD_FROM_ISR() function on the AVR port…
Or is a call to xTaskResumeFromISR() sufficient?