On Paper: Interrupts Explained
Share
An interrupt is an event that stops regular program flow to run a separate set of code that relates to the interrupt. Interrupts have many uses and applications. Interrupts can be used with: - Timers and counters (When a timer matches a specific value) - Serial communications (USART, UART - tell you when data is received, or when the transmit is ready to take data to transmit) - When a pin goes from high to low or vice verse - ADC (Analog to Digital Converter) completes the conversion - Software interrupt (custom) - And many others.