Forum Discussion
Altera_Forum
Honored Contributor
20 years agoHi chris01,
> Could somebody tell me that the following testisr.c program is correct. I don't have time right now to look more closely ... but you might want to consider making 'pst' point to a volatile structure (either make the struct volatile, or make the referenced object volatile) . Your interrupt may well be working fine ... but your main thread may never actually access memory after the first read. Regards, --Scott