Cédric Schaffter wrote: > Hi List! > > I'm writing a programm where I need to use interruptions. > > To create it, I use the function "rt_intr_create(RT_INTR *intr, const > char *name, unsigned irq, rt_isr_t isr, rt_iack_t iack, int mode)". > > I included this header : #include <native/intr.h>. > > When I compile, I get these error messages : > > *error 'RT_INTR_HANDLED' undeclared > error too many arguments to function 'rt_intr_create'.* > > When I observe the file intr.h, I see there are two rt_intr_create (the > one with six arguments which I need and an other one with only four).
The one with six parameters is for kernel apps, the other one with four parameters for userland which is probably the right one for you. Please see http://www.xenomai.org/documentation/branches/v2.4.x/html/api/group__interrupt.html -- Sebastian _______________________________________________ Xenomai-help mailing list [email protected] https://mail.gna.org/listinfo/xenomai-help
