Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

avr timer interrupt problem

Status
Not open for further replies.

5282604

Full Member level 4
Full Member level 4
Joined
Dec 19, 2009
Messages
194
Helped
3
Reputation
6
Reaction score
3
Trophy points
1,298
Location
egypt
Visit site
Activity points
2,404
i use mikroc compilier

when i use timer interrupt . when is there timer over flow the timer interrupt function is work.
but when avr cpu is return from interrupt function it's not return to the last programm adress(when intterupt is done)
but it start from beganing from the main code and this corrupted my code
 

thank you the problem is solved the problem because i use delay_ms with timer interrupt
and this corrupted delay_ms time. thank you
 
Last edited:

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top