The regular process is resumed after serving the Interrupt. Almost every electronic device has some kind to interrupts to ‘interrupt’ the regular process and do some higher priority things on a particular event. So what makes a sudden opening of an airbag in seconds? The answer is interrupts, an interrupt signal is used here which has the highest priority of all.Īnother simple example of Interrupts is touch screen mobile phones which have the highest priority to the “Touch” sense. Microcontrollers present in the car monitor many things simultaneously like sensing the speed of the car, checking other sensors, controlling air conditioner temperature etc. Then based on that interrupt the microcontroller produces an electric signal to deploy the airbags immediately. Consider a fast-moving car, if it suddenly gets hit by another car in opposite direction, the first thing that happens is that, the accelerometer sensor present in the car senses a sudden de-acceleration and triggers an external interrupt to the microcontroller present in the car.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |