ISR vs. SIGNAL

Go To Last Post
4 posts / 0 new
Author
Message
#1
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

I'm not sure, from the documentation, but is there any difference between naming your interupts SIGNAL and ISR, other that a gramatical one?

Is the SIGNAL going to end up like good old sbi and cbi?

There are pointy haired bald people.
Time flies when you have a bad prescaler selected.

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

SIGNAL is deprecated in favour of the more documentary ISR just as SIG_* vector names are deprecated by *_vect so you should migrate to using the latter in both cases.

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Rationale: based on the user response we've seen over years, the
term "signal" has been causing a lot of confusion, so we tried to
get rid of it as much as possible, replacing it by "interrupt
service", "interrupt vector", or "interrupt service routine"
(whatever fits best).

So yes, SIGNAL() will eventually end up on the same trash bin as
cbi() and sbi() are now. Not by tomorrow, but we've been deprecating
cbi() and sbi() for many years as well (I think it's been about 5
years).

Jörg Wunsch

Please don't send me PMs, use email if you want to approach me personally.