Skip to main content
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Code code:"if (foo != bar)"
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Saves in:saves
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with
Search options not deleted user 159339

A mechanism for the control of program flow in a computer. When interrupted a computer saves its present operational state and changes to executing code (interrupt handler) that is dependent upon which interrupt was generated. Interrupts can be either hardware- or software-sourced; software-sourced interrupts are called traps. It is an alternate mechanism to polling and is the basis around which most I/O, multitasking and control is implemented.

0 votes
Accepted

How to set two timers running at the same time in atmega328p?

Thanks to @brhans for bringing awareness of prescalers. I think what happened was that interrupt setup with no prescaler was being depleted by other functions which took many mcu cycles to complete. T …
flowian's user avatar
  • 119
0 votes
1 answer
854 views

How to use two timers for one interrupt vector on avr?

I want to use two timers for different time interrupts. One for keeping clock time on LCD and other for giving pulses at certain times. …
flowian's user avatar
  • 119
0 votes
1 answer
3k views

How to set two timers running at the same time in atmega328p?

I want to set up two timers running two ISR-s with different resolutions. One timer for counting milliseconds for clock time, another for counting microseconds when requested. I've set up Timer1 and T …
flowian's user avatar
  • 119