Yahoo Groups archive

AVR-Chat

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

Message

Re: int 0 problem

2009-03-30 by Brian

I set the following:

GICR = 0x40;   //for int0 
MCUCR = 0x01;  //int for logic change

//enable global int
#asm ("sei")

Not sure how to verify if everything is set. Still working with/learning the Studio4 debugger.

Brian


--- In AVR-Chat@yahoogroups.com, "s.holder123@..." <s.holder123@...> wrote:
>
> How are you writing to the MCUCR ? the default setting for the interrupt pins is low level detect (iscx1 = 0, iscx0 = 0), sounds like you are not actually setting the required value in the MCUCR, can you verify that the value is as you think it is.
> 
> Regards

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.