Problem with handling interrupts
dfx <[email protected]>
| Newsgroups | gmane.comp.hardware.avr.gcc |
|---|---|
| Organization | dfx s.r.l. |
| Message-ID | <[email protected]> |
Hello, my problem is the following: suppose we have 8 keys all connected to the same port (for. eg. D) of an AVR processor (eg. ATmega324) and that all pins have the interrupt enabled. If I understand correctly, when I press any key is called the same ISR (PCINT3_vect) and a single flag is set (PCIE3). Question: How do I know which button was actually pressed? thank you very much -- Domenico Formenton Tel. 06 92731757 Fax. 178 2250847 Cell. 333 7075929 --- Questa e-mail è priva di virus e malware perché è attiva la protezione avast! Antivirus. http://www.avast.com _______________________________________________ AVR-GCC-list mailing list [email protected] https://lists.nongnu.org/mailman/listinfo/avr-gcc-list
dfx.vcf
(text/x-vcard, 246 B)
begin:vcard fn:Domenico Formenton n:Formenton;Domenico org:dfx adr;dom:;;Via delle due Case, 12;APRILIA;LT;04011 email;internet:[email protected] tel;work:06 92500019 tel;cell:333 7075929 x-mozilla-html:TRUE url:www.dfx.it version:2.1 end:vcard