Ahh thats better. Should I be concerned about the 'Interrupts disabled during call to prevent re-entrancy' warnings?
Does this basically mean that the compiler disables interupts until these routines are finished? and if so should I be doing this explicitly?
Matt
PCM programmer
Joined: 06 Sep 2003 Posts: 21708
Posted: Mon May 22, 2006 10:05 pm
The usb_token_reset() function is called by:
usb_isr_rst()
usb_detach()
usb_attach()
The usb_task() function calls usb_attach(). This call is made outside
of an interrupt service routine.
The usb_isr() function calls usb_isr_rst(). This call is made from
within the #int_usb interrupt service routine.
There is only one instance of the usb_token_reset() function and it
is not re-entrant. Therefore, the compiler automatically inserts code
at compile-time to disable interrupts while usb_token_reset() is
executing.
mbro131
Joined: 22 May 2006 Posts: 9
Posted: Mon May 22, 2006 10:08 pm
Thankyou for clearing that up for me, much appreciated
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum