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

# Standard requests defines
[USB task entry point module]

Collaboration diagram for Standard requests defines:

## Defines
#define | GET_STATUS 0x00
#define | GET_DEVICE 0x01
#define | CLEAR_FEATURE 0x01
| see FEATURES below
#define | GET_STRING 0x03
#define | SET_FEATURE 0x03
| see FEATURES below
#define | SET_ADDRESS 0x05
#define | GET_DESCRIPTOR 0x06
#define | SET_DESCRIPTOR 0x07
#define | GET_CONFIGURATION 0x08
#define | SET_CONFIGURATION 0x09
#define | GET_INTERFACE 0x0A
#define | SET_INTERFACE 0x0B
#define | SYNCH_FRAME 0x0C
#define | GET_DEVICE_DESCRIPTOR 1
#define | GET_CONFIGURATION_DESCRIPTOR 4
#define | REQUEST_DEVICE_STATUS 0x80
#define | REQUEST_INTERFACE_STATUS 0x81
#define | REQUEST_ENDPOINT_STATUS 0x82
#define | ZERO_TYPE 0x00
#define | INTERFACE_TYPE 0x01
#define | ENDPOINT_TYPE 0x02
#define | DEVICE_DESCRIPTOR 0x01
#define | CONFIGURATION_DESCRIPTOR 0x02
#define | STRING_DESCRIPTOR 0x03
#define | INTERFACE_DESCRIPTOR 0x04
#define | ENDPOINT_DESCRIPTOR 0x05
#define | DEVICE_QUALIFIER_DESCRIPTOR 0x06
#define | OTHER_SPEED_CONFIGURATION_DESCRIPTOR 0x07
#define | FEATURE_DEVICE_REMOTE_WAKEUP 0x01
#define | FEATURE_ENDPOINT_HALT 0x00
#define | TEST_J 0x01
#define | TEST_K 0x02
#define | TEST_SEO_NAK 0x03
#define | TEST_PACKET 0x04
#define | TEST_FORCE_ENABLE 0x05
#define | BUS_POWERED 0
#define | SELF_POWERED 1

## Define Documentation

#define GET_STATUS 0x00

Definition at line 54 of file usb_task.h.

Referenced by usb_process_request().

#define GET_DEVICE 0x01

Definition at line 55 of file usb_task.h.

#define CLEAR_FEATURE 0x01

see FEATURES below

Definition at line 56 of file usb_task.h.

Referenced by usb_process_request().

#define GET_STRING 0x03

Definition at line 57 of file usb_task.h.

#define SET_FEATURE 0x03

see FEATURES below

Definition at line 58 of file usb_task.h.

Referenced by usb_process_request().

#define SET_ADDRESS 0x05

Definition at line 59 of file usb_task.h.

Referenced by usb_process_request().

#define GET_DESCRIPTOR 0x06

Definition at line 60 of file usb_task.h.

Referenced by usb_process_request(), and usb_user_read_request().

#define SET_DESCRIPTOR 0x07

Definition at line 61 of file usb_task.h.

Referenced by usb_process_request().

#define GET_CONFIGURATION 0x08

Definition at line 62 of file usb_task.h.

Referenced by usb_process_request().

#define SET_CONFIGURATION 0x09

Definition at line 63 of file usb_task.h.

Referenced by usb_process_request(), and usb_user_read_request().

#define GET_INTERFACE 0x0A

Definition at line 64 of file usb_task.h.

Referenced by usb_process_request(), and usb_user_read_request().

#define SET_INTERFACE 0x0B

Definition at line 65 of file usb_task.h.

Referenced by usb_process_request().

#define SYNCH_FRAME 0x0C

Definition at line 66 of file usb_task.h.

Referenced by usb_process_request().

#define GET_DEVICE_DESCRIPTOR 1

Definition at line 68 of file usb_task.h.

#define GET_CONFIGURATION_DESCRIPTOR 4

Definition at line 69 of file usb_task.h.

#define REQUEST_DEVICE_STATUS 0x80

Definition at line 71 of file usb_task.h.

Referenced by usb_get_status().

#define REQUEST_INTERFACE_STATUS 0x81

Definition at line 72 of file usb_task.h.

Referenced by usb_get_status().

#define REQUEST_ENDPOINT_STATUS 0x82

Definition at line 73 of file usb_task.h.

Referenced by usb_get_status().

#define ZERO_TYPE 0x00

Definition at line 74 of file usb_task.h.

Referenced by usb_clear_feature(), and usb_set_feature().

#define INTERFACE_TYPE 0x01

Definition at line 75 of file usb_task.h.

Referenced by usb_clear_feature(), and usb_set_feature().

#define ENDPOINT_TYPE 0x02

Definition at line 76 of file usb_task.h.

Referenced by usb_clear_feature(), and usb_set_feature().

#define DEVICE_DESCRIPTOR 0x01

Definition at line 79 of file usb_task.h.

Referenced by usb_get_descriptor().

#define CONFIGURATION_DESCRIPTOR 0x02

Definition at line 80 of file usb_task.h.

Referenced by usb_get_descriptor().

#define STRING_DESCRIPTOR 0x03

Definition at line 81 of file usb_task.h.

Referenced by usb_user_get_descriptor().

#define INTERFACE_DESCRIPTOR 0x04

Definition at line 82 of file usb_task.h.

#define ENDPOINT_DESCRIPTOR 0x05

Definition at line 83 of file usb_task.h.

#define DEVICE_QUALIFIER_DESCRIPTOR 0x06

Definition at line 84 of file usb_task.h.

#define OTHER_SPEED_CONFIGURATION_DESCRIPTOR 0x07

Definition at line 85 of file usb_task.h.

#define FEATURE_DEVICE_REMOTE_WAKEUP 0x01

Definition at line 90 of file usb_task.h.

Referenced by usb_clear_feature(), and usb_set_feature().

#define FEATURE_ENDPOINT_HALT 0x00

Definition at line 91 of file usb_task.h.

Referenced by usb_clear_feature(), and usb_set_feature().

#define TEST_J 0x01

Definition at line 93 of file usb_task.h.

#define TEST_K 0x02

Definition at line 94 of file usb_task.h.

#define TEST_SEO_NAK 0x03

Definition at line 95 of file usb_task.h.

#define TEST_PACKET 0x04

Definition at line 96 of file usb_task.h.

#define TEST_FORCE_ENABLE 0x05

Definition at line 97 of file usb_task.h.

#define BUS_POWERED 0

Definition at line 101 of file usb_task.h.

#define SELF_POWERED 1

Definition at line 102 of file usb_task.h.