Max Bus Power Confusion

General discussions about V-USB, our firmware-only implementation of a low speed USB device on Atmel's AVR microcontrollers
Post Reply
_frank26080115

Max Bus Power Confusion

Post by _frank26080115 » Tue Aug 24, 2010 9:50 pm

Code: Select all

#define USB_CFG_MAX_BUS_POWER           100
/* Set this variable to the maximum USB bus power consumption of your device.
 * The value is in milliamperes. [It will be divided by two since USB
 * communicates power requirements in units of 2 mA.]
 */


if the power requirements are reported in units of 2 mA, shouldn't this line read "It will be multiplied by two"?

_frank26080115

Re: Max Bus Power Confusion

Post by _frank26080115 » Tue Aug 24, 2010 9:53 pm

oh sorry i'm a dumbass, i just realized that it is divided internally, ignore/delete my post

Post Reply