Streamlined avr_irq subsystem
authorMichel Pollet <buserror@gmail.com>
Mon, 14 Dec 2009 20:57:55 +0000 (20:57 +0000)
committerMichel Pollet <buserror@gmail.com>
Mon, 14 Dec 2009 20:57:55 +0000 (20:57 +0000)
commit7d859a4b1eb18a3ef13636587ba051a54d7a69b3
treea1cad7b5aff60335e94198c44f7d88cf3e919420
parent1828d61a7a1b5751ddc70f93bd16bd9b0d4b2c6e
Streamlined avr_irq subsystem

Made the IRQ subsytem even more generic, allows
IRQs to be directly connected to other IRQ without
the glue callback.
Also added flags to allow changing IRQ polarity, and
to enable/disable a "filter" that won't trigger the
callbacks when the IRQ value is the same as before.

Signed-off-by: Michel Pollet <buserror@gmail.com>
simavr/sim/sim_irq.c
simavr/sim/sim_irq.h