simulavr-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Simulavr-devel] attiny85 - external interrupt support (INT0/PCINT)


From: zid
Subject: [Simulavr-devel] attiny85 - external interrupt support (INT0/PCINT)
Date: Wed, 3 Feb 2016 02:35:04 -0700 (MST)

Hi,

I am trying to simulate external interrupts (INT0) on an ATTiny85.

After adding the following lines, I get the following errors:

// Enable INT0 interupt
GIMSK |= (1<<INT0);

// Set INT0 interupt to rising edge detection
MCUCR |= (1<<ISC00) | (1<<ISC01);


WARNING: file rwmem.cpp: line 222: Invalid read access from IO[0x5b],
PC=0x80
WARNING: file rwmem.cpp: line 231: Invalid write access to IO[0x5b]=0x40,
PC=0x84
WARNING: file rwmem.cpp: line 222: Invalid read access from IO[0x55],
PC=0x86
WARNING: file rwmem.cpp: line 231: Invalid write access to IO[0x55]=0x3,
PC=0x8a


Does this just mean this feature is not available to simulate on this MCU?
Or am I missing something fundamental?

Thanks
Zid



--
View this message in context: 
http://nongnu.13855.n7.nabble.com/attiny85-external-interrupt-support-INT0-PCINT-tp208170.html
Sent from the simulavr-devel mailing list archive at Nabble.com.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]