Skip to contentSkip to conversation

ISR arguments with Native skin

Xenomai-help Wolfgang Grandegger 2 participants 2 messages Nov 8, 2006

lore
Share & tools
lore
#0 lore raw

Hallo,

I just realized, that the ISR registered with rt_intr_create() must be of type:

int isr(struct xnintr *irq)

I expected "RT_INTR *" as type of the argument. The documentation is not clear about that (what rt_isr_t) is. A hyper-link would be nice.

Thanks.

Wolfgang.

#1 lore raw
Quoted 9 lines · Wolfgang Grandegger

Hallo,

I just realized, that the ISR registered with rt_intr_create() must be of type:

int isr(struct xnintr *irq)

I expected "RT_INTR *" as type of the argument. The documentation is not clear about that (what rt_isr_t) is. A hyper-link would be nice.

Thanks.

You can use the I_DESC macro to get the RT_INTR * from the xnintr_t *

Signature · 1 line
                                                 Gilles Chanteperdrix