However, when I look into the ATTiny85's data sheet for the comparator's interrupt vector it states that it is ANA_COMP, which makes me think my implementation should be this:
...but then I go look in the 328's data sheet and it has "ANA COMP". So now I don't know what to think. I must have got the working code by seeing someone else use it that way and it works despite not matching the data sheet but as there's no consistency, what should I use for the tiny? Thanks.
Wait... so... which of your posts is correct? If the datasheet is correct, then the syntax should be ISR(ANA_COMP) ? Both of them compile so I can't tell.
I see. So there's a convention of sorts, that whatever's in the interrupt table on the datasheet, you have to insert underscores and append with vect. You'd think Atmel expected people to know that somehow lol. Thank you for your help.
a way in which something is usually done, especially within a particular area or activity.
"the woman who overturned so many conventions of children's literature"
...
It is a strict syntax rule of the programming language.
These are all valid C++ identifiers...
ANA_COMP
ANALOG_COMP_vect
AC
ACv
CA
CAV
The_analog_compare_interrupt_vector_for_the_ATtiny85_processor
Any of which would work.
The method used to change source names to vector names is a "convention". The resulting vector names are "syntax".
I suggest you stop trying to argue English language semantics. Given the fact that you could have put "convention" into Google to get to the truth you have demonstrated that you are especially terrible at it.
Good advice. I found it particularly troubling that one of the data sheets had the _ absent so by checking the libraries, it takes all the mystery away. Thanks.