Microcontrollers

Building Blocks of Electronic Devices

Microcontrollers - Building Blocks of Electronic Devices

Interrupt

12Microcontrollers generally perform one or a couple of specific functions. In order to perform these functions, they typically wait until a user takes an action that requires them to execute the appropriate program. For example, a microcontroller installed on a vehicle may monitor for a condition where the vehicle is off and the lights are on and trigger an alarm if this is the case. Rather than monitoring each of those systems continuously, the microcontroller can pass along the instruction to monitor to a specialized part and, when the condition for which it is monitoring arises, it will receive an interrupt, causing the microcontroller to execute its program and sound the alarm.