Endpoint definition in firmware

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
Anonymous
Not applicable

Hi,

   

What is the difference between defining endpoints in USB setup call back funrtion vs the Thread_Entry (or ApplnInit() ) function? I found both in the sample codes.

   

Thanks,

   

Nazila

0 Likes
2 Replies
Anonymous
Not applicable

Can you please let me know the firmwares that you're looking at?

   

Regards,

   

Anand

0 Likes
Anonymous
Not applicable

Endpoint defined in USB callback setup:

   
        
  1. Bulk loop manin out
  2.     
  3. Bulk loop man many to one
  4.     
  5. Bulk loop auto many to one
  6.    
   

Endpoint defined in Thread_Entry or ApplnInit

   
        
  1. Bulk loop manual
  2.     
  3. usb spi reg mode
  4.     
  5. usb spi dma mode
  6.    
   

Endpoint defined in USB Event call back

   
        
  1. Bulk streams
  2.     
  3. Bulk src sink
  4.    
   

I would appreciate it if you could tell me what is the difference between defining the Endpoints in each of the functions I mentioned above.

   

Thanks,

   

Nazila

0 Likes