Hi!
I'm new to 8051 controllers and are now using the nRF24LE1 for a school project.
I am used to the AVR architecture and writing interrupts like "ISR_interrupt_vector()" but I can see that 8051 uses "void interrupt() interrupt #number", and I can not find what #number to use.
Can anyone help me with this issue?
Thank you all in advance!
some datasheets use interrupt numbers that are (as far as all toolsets I know of) wrong.
The only way to ensure that you get the correct interrupt numbers is to go by the interrupt vector addresses in the datasheet and use the formula
interrupt_number = (vector_address -3)/8
Erik
They become correct when I include the header files from the manufacturer