Yahoo Groups archive

AVR-Chat

Index last updated: 2026-04-28 22:41 UTC

Message

RE: [AVR-Chat] Mega88 pin change interrupt

2005-11-21 by MuRaT KaRaDeNiZ

Nice, new avr devices have now so called "enhanced watchdog timer" with separate interrupt vector support, i didn't see that.
Regards.
Murat Karadeniz
http://www.onlinefavbar.com/mukas
-----Original Message-----
From: AVR-Chat@yahoogroups.com [mailto:AVR-Chat@yahoogroups.com] On Behalf Of Bent Morten Dale
Sent: Monday, November 21, 2005 3:38 PM
To: AVR-Chat@yahoogroups.com
Subject: RE: [AVR-Chat] Mega88 pin change interrupt

Hi,
take a look at page 56 in ATmega88 datasheet. Watchdog timer interrupt vector No 7.
This is a good way of having a timer wake up at intervals up to 8sec.
Regards,
Morten
-----Original Message-----
From: AVR-Chat@yahoogroups.com [mailto:AVR-Chat@yahoogroups.com] On Behalf Of MuRaT KaRaDeNiZ
Sent: 21. november 2005 12:48
To: AVR-Chat@yahoogroups.com
Subject: RE: [AVR-Chat] Mega88 pin change interrupt

Hello,

Atmel avr series do not have a special vector for handling watchdog
overflow, so it resets the system. Is it proper to get reset just to
wake-up from sleep? are you out of other timer resources?

Regards.

Murat Karadeniz
http://www.onlinefavbar.com/mukas

-----Original Message-----
From: AVR-Chat@yahoogroups.com [mailto:AVR-Chat@yahoogroups.com] On
Behalf Of Bent Morten Dale
Sent: Monday, November 21, 2005 1:00 AM
To: AVR-Chat@yahoogroups.com
Subject: [AVR-Chat] Mega88 pin change interrupt


Hi,
Pin change interrup works the first time I enable it but the next
interrupt is not serviced. If i get a watchdog interrupt (used as timer)
and then a pinchange interrupt then the interrupt is serviced. I use
both interrups to do a wakeup from sleep.


Regards,
Morten





Yahoo! Groups Links







Attachments

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.