10 years, 5 months ago.

Current draw handshake?

Hey guys, I'm working on a battery-powered project that includes a USB-friendly battery charger, and I need a way to figure out whether or not the host has approved the maximum current draw I've specified in the descriptor. Trouble is, I don't see a way to do that in the USBDevice API. configured() seems about the closest, but doesn't handle disconnection/reconnection at the moment...

Question relating to:

USB device stack device, USB
Be the first to answer this question.