Page 1 of 1

list of interrupt numbers

Posted: Thu Oct 31, 2024 9:14 am
by jsmith56x
Hi,

I'm looking a complete list of interrupt numbers? Is there available?
I'm looking for example interrupt number for crosscore interrupt on ESP32C3.

Re: list of interrupt numbers

Posted: Thu Oct 31, 2024 10:24 am
by MicroController
jsmith56x wrote:
Thu Oct 31, 2024 9:14 am
I'm looking for example interrupt number for crosscore interrupt on ESP32C3.
This is not the interrupt you're looking for.
The C3 is single-core :)

Re: list of interrupt numbers

Posted: Thu Oct 31, 2024 10:28 am
by jsmith56x
Single core however it is called (I have tested on eval board)

Re: list of interrupt numbers

Posted: Thu Oct 31, 2024 11:23 am
by MicroController
Ok.
The C3 CPU has 31 interrupt vectors, plus one for exceptions. Which of those 31 vectors is used for which interrupt can be configured via the interrupt matrix.
The interrupt controller and the interrupt matrix are documented in the TRM.

However, unless you have a very special use case, there shouldn't be a need for you to care about interrupt numbers at all; the IDF and its drivers take care of that for you.

Can you explain what you're trying to do, i.e. why you want to deal with interrupt setup at this low level?

Re: list of interrupt numbers

Posted: Thu Oct 31, 2024 12:25 pm
by jsmith56x
I'm working on a simulator