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

interrupts

hi everyone
i am new to 8051 and and have some problem with interrupts while working with kiel software.

i am unable to pass arguments to following function

void serial_isr(char code *ptr) interrupt 4

please do reply

good day....

Parents
  • t does not have to do with "the 8051 architecture" it has to do with interrupts on any processor

    ... you need to add "hardware interrupts". If you're using an operating system to route the interrupts for you, you may pass arguments to the handlers (which will be plain-vanilla functions in that case).

Reply
  • t does not have to do with "the 8051 architecture" it has to do with interrupts on any processor

    ... you need to add "hardware interrupts". If you're using an operating system to route the interrupts for you, you may pass arguments to the handlers (which will be plain-vanilla functions in that case).

Children
No data