Definitions, Constants, and Enums

Microchip USB Device Library

USB Device Library Help
Definitions, Constants, and Enums
Macros
 
Name 
Description 
 
Detached is the state in which the device is not attached to the bus. When in the detached state a device should not have any pull-ups attached to either the D+ or D- line. This defintions is a return value of the function USBGetDeviceState() 
 
Attached is the state in which the device is attached ot the bus but the hub/port that it is attached to is not yet configured. This defintions is a return value of the function USBGetDeviceState() 
 
Powered is the state in which the device is attached to the bus and the hub/port that it is attached to is configured. This defintions is a return value of the function USBGetDeviceState() 
 
Default state is the state after the device receives a RESET command from the host. This defintions is a return value of the function USBGetDeviceState() 
 
Address pending state is not an official state of the USB defined states. This state is internally used to indicate that the device has received a SET_ADDRESS command but has not received the STATUS stage of the transfer yet. The device is should not switch addresses until after the STATUS stage is complete. This defintions is a return value of the function USBGetDeviceState() 
 
Address is the state in which the device has its own specific address on the bus. This defintions is a return value of the function USBGetDeviceState(). 
 
Configured is the state where the device has been fully enumerated and is operating on the bus. The device is now allowed to excute its application specific tasks. It is also allowed to increase its current consumption to the value specified in the configuration descriptor of the current configuration. This defintions is a return value of the function USBGetDeviceState(). 
 
Default Value (Bit 7 is set) 
 
_RWU 
Remote Wakeup (Supports if set) 
 
Self-powered (Supports if set) 
Microchip MCHPFSUSB v2.3 - Sept 20, 2008
Copyright © 2008 Microchip Technology, Inc.  All rights reserved.