There is a bit in a register for each peripheral. Look in the Power chaperter in the hardware manual (i don't have a manual in front of me, but it's towards the end). There is a set of registers call the module stop registers. You write to that with the mem app and then the usb will be completly stopped.
↧