what Is Interrupt?

Interrupts are basically event that require immediate attention by the micro-controller.

When an interrupt event occurs the CPU pause its current task and attend the interrupt by executing an interrupt serve routine(ISR) at the end of the ISR. the CPU return to the task it had pause and continue its normal operation.

In order for the micro-controller to respond to an interrupt event the interrupt feature of the micron-controller must be enabled along with the specific event. This is done by setting the global interrupt enable bit & interrupt enable.


Post a Comment

Don't Forget to comment

About Me

My photo

HI i am mohammed  a Embedded Software Developer ,SEO specialist,Electronic engineer   Read more