--- Quote Start ---
originally posted by glecordier@Feb 6 2006, 06:31 AM
i use the interrupt with the button pio like that:
# include <cyg/hal/io.h> // for iowr and iord
unsigned char ledpio;
cyg_interrupt int_pio;
cyg_handle_t int_pio_handle;
:
:
<div align='right'><{post_snapback}> (index.php?act=findpost&pid=12562)
--- quote end ---
--- Quote End ---
Thank you, All.
Especially GLecordier, thank you for showing your code.
Now I can use interrupt as I expect.
The reasons are
(1) I tried to use printf in ISR.
(2) I didn't unmask the interrupt.
Thank you, very much.