Till now I used Vendor(Controller Vendor) ISR for handling the Interrupt. But I want to know how to write the ISR. I know about the Vector Table. Will take one simple example for GPIO Interrupt for Port 0. which is having the vector table P0INT_VECTOR(according to datasheet).
#pragmavector= P0INT_VECTOR
__interrupt void p0_ISR(void)
{
/*Some statement*/
}
why it is #pragma, and how the function defined as p0_ISR, can we change the function name. What will be the impact of changing the name
I am not used the Software Interrupt much, but I know some basic, it will be used via INT commands.
- Now can any one tell me, how to write a ISR function for this.
#pragmavector= P0INT_VECTOR
__interrupt void p0_ISR(void)
{
/*Some statement*/
}
why it is #pragma, and how the function defined as p0_ISR, can we change the function name. What will be the impact of changing the name
I am not used the Software Interrupt much, but I know some basic, it will be used via INT commands.
2.How to write Software ISR.