ISR arguments with Native skin
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.
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 (whatrt_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