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

external interrupt in lpc2378

hi to all ,

i m using external interrupt 3 in lpc 2378 but when external interrupt is execute that time it gose into that isr routing that time it is not perform anather task. why ?

it is possible two external interrupt execute at the same time ?

Parents
  • Your processor can only do one thing at a time.

    To make it look like it does multiple jobs, you have to split the tasks into small pieces and alternate between them.

    How come: There is one single program counter that points at the current instruction. To get two PC, you need a hyperthreaded or multi-core processor or multiple processors.

    You may use a RTOS to interleave between multiple tasks, or you may use a super-loop that has one infinite loop that calls several short and fast functions that each performs a bit of a task before returning.

Reply
  • Your processor can only do one thing at a time.

    To make it look like it does multiple jobs, you have to split the tasks into small pieces and alternate between them.

    How come: There is one single program counter that points at the current instruction. To get two PC, you need a hyperthreaded or multi-core processor or multiple processors.

    You may use a RTOS to interleave between multiple tasks, or you may use a super-loop that has one infinite loop that calls several short and fast functions that each performs a bit of a task before returning.

Children