I'm new to AVR development and trying to figure out some basic things such as interrupts, timers, and others. I have setup my development environment with AVRStudio, WinAVR, Procyon AVRLib, Eclipse (I was able to debug my C source in AVRStudio from Eclipse...). But I'm still waiting for my development board.
Meanwhile, I'm a bit stuck in understanding something which is probably basic to all of you: I'd like to generate an interrupt upon a keypress (let's say a 5 buttons keypad connected to PA0:PA4, with debounce as an option...). Oh yes, all this on an ATMega128.
My final goal is also to have interrupts generated each x msecs to interact with the environment and in addition, I'd like if possible not to touch the timers/counters used by AVRLib (for PWM purpose....)
Of course, I'll go step-by-step: keypad first !
I got the butterfly sources, and tried to "port" it to ATMega128, but I'm a bit lost (especially without the HW) with all registers and so on. I'm also looking at the great AVR Tutorials in forums.