Question
How to program user button interrupt with ecos
Posted on May 03, 2014 at 07:35
hi, i'm using a stm32f4 board. and i want to write a program with ecos embeded system that when i push user button, an interrupt will trigerd and do something.
i find the function cyg_interrupt_create(), but i need a interrupt vector. in the file /cyg/hal/var_intr.h , there are lots of CYGNUM_HAL_INTERRUPT_xxx, how can i know which one i should use? thanks in advanced! #ecos