AnsweredAssumed Answered

How to program user button interrupt with ecos

Question asked by huang.fakenerd on May 3, 2014
Latest reply on May 5, 2014 by huang.fakenerd
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!

Outcomes