Search found 1 match

by Richard42
Tue Feb 06, 2024 7:23 am
Forum: ESP32 Arduino
Topic: Interrupts and cores: can I free one core of any interrupts?
Replies: 3
Views: 9203

Re: Interrupts and cores: can I free one core of any interrupts?

I ran into the exact same problem, and I was able to dig through the source code and figure it out. Here is how to disable and re-enable the timer tick interrupt on the current core:

#include "freertos/xtensa_timer.h"
#include "esp_intr_alloc.h"

ESP_INTR_DISABLE(XT_TIMER_INTNUM);
// super time ...

Go to advanced search