A USB Device SETUP request.
The data payload of SETUP packets always follows this structure.
#include <usb_protocol.h>
Data Fields | |
uint8_t | bmRequestType |
uint8_t | bRequest |
le16_t | wIndex |
le16_t | wLength |
le16_t | wValue |
uint8_t usb_setup_req_t::bmRequestType |
uint8_t usb_setup_req_t::bRequest |
Referenced by udc_reqstd(), and udi_cdc_comm_setup().
le16_t usb_setup_req_t::wIndex |
le16_t usb_setup_req_t::wLength |
Referenced by udc_process_setup(), udc_req_std_dev_clear_feature(), udc_req_std_dev_get_configuration(), udc_req_std_dev_get_descriptor(), udc_req_std_dev_get_status(), udc_req_std_dev_set_address(), udc_req_std_dev_set_configuration(), udc_req_std_dev_set_feature(), udc_req_std_ep_clear_feature(), udc_req_std_ep_get_status(), udc_req_std_ep_set_feature(), udc_req_std_iface_get_setting(), udc_req_std_iface_set_setting(), udc_reqstd(), udd_ctrl_in_sent(), udd_ctrl_out_received(), udd_ctrl_setup_received(), and udi_cdc_comm_setup().
le16_t usb_setup_req_t::wValue |
Referenced by udc_req_std_dev_clear_feature(), udc_req_std_dev_get_descriptor(), udc_req_std_dev_get_str_desc(), udc_req_std_dev_set_configuration(), udc_req_std_dev_set_feature(), udc_req_std_ep_clear_feature(), udc_req_std_ep_set_feature(), udc_req_std_iface_set_setting(), udc_valid_address(), udd_ctrl_setup_received(), and udi_cdc_comm_setup().