global interrupt

eng.m_mahmoud
Posts: 4
Joined: Mon Apr 27, 2020 8:32 pm

global interrupt

Postby eng.m_mahmoud » Tue Oct 06, 2020 5:29 pm

Hello,

I am asking about the functions which enable and disable the global interrupt, or what is the address of the register which includes this bit(and which bit).

this required for logging critical section.

Thanks

PeterR
Posts: 621
Joined: Mon Jun 04, 2018 2:47 pm

Re: global interrupt

Postby PeterR » Tue Oct 06, 2020 10:30 pm

Global interrupt?
What does that mean? GoF epilogue available ;) ?
If you don't mind; sounds like an exam question ;)
& I also believe that IDF CAN should be fixed.

ESP_Sprite
Posts: 9713
Joined: Thu Nov 26, 2015 4:08 am

Re: global interrupt

Postby ESP_Sprite » Wed Oct 07, 2020 6:50 am

It's a bit more complicated than a 'global interrupt' bit... can I ask what you're asking this for?

PeterR
Posts: 621
Joined: Mon Jun 04, 2018 2:47 pm

Re: global interrupt

Postby PeterR » Wed Oct 07, 2020 9:26 am

There are few good reasons to disable all interrupts & a lot of bad ones. So its important to understand what you want to achieve.
For what its worth viewtopic.php?t=10006 discusses tight loops but 'beware here be dragons' (I also wonder if the RMT module would have been a better solution).
So it very much depends what you want to achieve!
& I also believe that IDF CAN should be fixed.

Who is online

Users browsing this forum: robizzar72 and 49 guests