USB detach

Coding and general discussion relating to the compiler

Moderators: David Barker, Jerry Messina

Post Reply
madru
Posts: 10
Joined: Thu Oct 22, 2009 9:07 pm

USB detach

Post by madru » Fri Nov 20, 2009 6:44 pm

is that the correct way to remove the HID.device from the bus?

Code: Select all

   UCON = 0                               // Disable module & detach from bus
   UIE = 0                                // Mask all USB interrupts
THX

Madru

Post Reply