This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Disconnect USB MSC in code?

I have a project with a 430F5529 that uses a MSC and HID USB interface.

Normally I want both interfaces to be available, but in certain modes I want to disconnect the MSC.

What is the correct way to do this? I don't want to simply use USB_disconnect because it would also kill the HID interface.

Thanks in advance for any suggestions,

D2.

**Attention** This is a public forum