since only code snippets posted and
no hardware description pic/usb descriptor and
no explanation why eusart not employed and
no description of failure point or why "working" code not suitable
...
Type: Posts; User: richard; Keyword(s):
since only code snippets posted and
no hardware description pic/usb descriptor and
no explanation why eusart not employed and
no description of failure point or why "working" code not suitable
...
if you are using USBSERVICE in a interrupt routine then its unnecessary to make additional calls to it , its probably not re-entrant code either.
making calls to it both inside and outside the isr...
its not so much as to service it every 10ms or less but to respond to polls before the host times you out. i use the isr option for usb service
ASM
INT_LIST macro ; IntSource, Label,...