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

I don't know how I can write my ISR routine with cortex m3

Dear Sir/Madam
I'm new in ARM programming with c .I saw the following code to handle timer ISR :

__irq void TIMER1_IRQHandler(void)
{
.
.
.
return;
}


can you introduce me some documents which I will be able to learn how to write my ISR code and how to use them in my code and learning ISR function instructions?

Thanks and bet regards.
Mohsen

Parents
  • An even better starting point would probably be to retrieve the code packs available for that processor and the processor user manual.

    Then look at the source code in the code pack and try to figure out what the code does by jumping to the processor user manual and look at all the nice descriptions about the meanings of the different registers.

    Looking at source code written for older processor architectures is likely to be a bad side track until you are already up to speed and can appreciate the differences between different architectures and different chip families.

Reply
  • An even better starting point would probably be to retrieve the code packs available for that processor and the processor user manual.

    Then look at the source code in the code pack and try to figure out what the code does by jumping to the processor user manual and look at all the nice descriptions about the meanings of the different registers.

    Looking at source code written for older processor architectures is likely to be a bad side track until you are already up to speed and can appreciate the differences between different architectures and different chip families.

Children