altos/lpc: Make EXTI code work.
authorKeith Packard <keithp@keithp.com>
Mon, 20 May 2013 03:00:24 +0000 (20:00 -0700)
committerKeith Packard <keithp@keithp.com>
Mon, 20 May 2013 03:00:24 +0000 (20:00 -0700)
commit098fd43a740ee2a782f82b6b71965b60cdba2d62
treeb0173cba37e69b8c0040cba74ce795a177dad563
parentf794e6c95697b034be315632fddb3a5475c43b5b
altos/lpc: Make EXTI code work.

Clear rise/fall bits in ISR to avoid re-entering.
Block interrupts around enable/disable bits.
Create shared _ao_exti_set_enable function to control mask changes.

Signed-off-by: Keith Packard <keithp@keithp.com>
src/lpc/ao_exti_lpc.c