This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

8051f020 Inrerrupt table or fromal parameter list

I am writing a ADC0 ISR for 8051f020. But i dont know the interrupt no. for ADC0 Interrupt(AD0INT). Hence i need a interrupt vector table where interrupt nos. may be listed. I am unable to find it on net and have read datasheet but could not find it. I cant poll the interrupt.

Kindly help.

Parents
  • For eg: A timer 0 isr is defined as "void Timer0_ISR(void) interrupt TF0_VECTOR"
    misleading name, Keil requires interrupy number. Of course, you can call it Ralph or whatever you want, but since the interrups have both numbers and vectors, this is really an awful name

    What VECTOR must i write for ADC0??
    if you pay me my hourly rate for one hour, I will look it up in the datasheet for you.

    Erik

Reply
  • For eg: A timer 0 isr is defined as "void Timer0_ISR(void) interrupt TF0_VECTOR"
    misleading name, Keil requires interrupy number. Of course, you can call it Ralph or whatever you want, but since the interrups have both numbers and vectors, this is really an awful name

    What VECTOR must i write for ADC0??
    if you pay me my hourly rate for one hour, I will look it up in the datasheet for you.

    Erik

Children