- Main Page
- Modules
- Data Structures
- Files
- Related Pages

# usb_standard_request.h File Reference

`#include "modules/usb/usb_task.h"`
`#include "usb_descriptors.h"`

Include dependency graph for usb_standard_request.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

## Defines
#define | ATTACHED 0
#define | POWERED 1
#define | DEFAULT 2
#define | ADDRESSED 3
#define | CONFIGURED 4
#define | SUSPENDED 5
#define | USB_REMOTE_WAKEUP 1
#define | OTG_B_HNP_ENABLE 3
#define | OTG_A_HNP_SUPPORT 4
#define | OTG_A_ALT_HNP_SUPPORT 5
#define | Is_device_enumerated() ((usb_configuration_nb!=0) ? TRUE : FALSE)
#define | Is_device_not_enumerated() ((usb_configuration_nb!=0) ? FALSE : TRUE)
## Functions
void | usb_process_request (void)
void | usb_generate_remote_wakeup (void)
| This function manages the remote wake up generation.
## Variables
U8 | usb_configuration_nb
| Public : (U8) usb_configuration_nb Store the number of the USB configuration used by the USB device when its value is different from zero, it means the device mode is enumerated Used with USB_DEVICE_FEATURE == ENABLED only /.
U8 | remote_wakeup_feature
U8 | f_get_serial_string

## Detailed Description

Process USB device enumeration requests header file.

This file contains the USB endpoint 0 management routines corresponding to the standard enumeration process (refer to chapter 9 of the USB specification. This file calls routines of the usb_specific_request.c file for non-standard request management. The enumeration parameters (descriptor tables) are contained in the usb_descriptors.c file.

- Compiler: IAR EWAVR and GNU GCC for AVR
- Supported devices: AT90USB1287, AT90USB1286, AT90USB647, AT90USB646

Author:
  Atmel Corporation: http://www.atmel.com
  Support and FAQ: http://support.atmel.no/

Definition in file usb_standard_request.h.