Microchip® Advanced Software Framework

uhd_ctrl_request_t Struct Reference

Structure to store the high level setup request.

Data Fields

usb_add_t add
 USB address of control endpoint. More...
 
uhd_callback_setup_end_t callback_end
 Callback called when request is completed. More...
 
uhd_callback_setup_run_t callback_run
 Callback called when buffer is empty or full. More...
 
struct uhd_ctrl_request_tnext_request
 Next setup request to process. More...
 
uint8_t * payload
 Buffer to store the setup DATA phase. More...
 
uint16_t payload_size
 Size of buffer used in DATA phase. More...
 
usb_setup_req_t req
 Setup request definition. More...
 

usb_add_t uhd_ctrl_request_t::add

USB address of control endpoint.

Referenced by uhd_ctrl_phase_setup(), uhd_ep_free(), and uhd_setup_request().

uhd_callback_setup_end_t uhd_ctrl_request_t::callback_end

Callback called when request is completed.

Referenced by uhd_ctrl_request_end(), and uhd_setup_request().

uhd_callback_setup_run_t uhd_ctrl_request_t::callback_run

Callback called when buffer is empty or full.

Referenced by uhd_ctrl_phase_data_in(), uhd_ctrl_phase_data_out(), and uhd_setup_request().

struct uhd_ctrl_request_t* uhd_ctrl_request_t::next_request

Next setup request to process.

Referenced by uhd_ctrl_request_end(), and uhd_setup_request().

uint8_t* uhd_ctrl_request_t::payload

Buffer to store the setup DATA phase.

Referenced by uhd_ctrl_phase_data_in(), uhd_ctrl_phase_data_out(), and uhd_setup_request().

uint16_t uhd_ctrl_request_t::payload_size

Size of buffer used in DATA phase.

Referenced by uhd_ctrl_phase_data_in(), uhd_ctrl_phase_data_out(), and uhd_setup_request().