Microchip® Advanced Software Framework

uhd_pipe_job_t Struct Reference

Structure definition to store registered jobs on a pipe.

Data Fields

uint16_t b_periodic_start:1
 Periodic packet start for this job. More...
 
uint16_t b_shortpacket:1
 A short packet is requested for this job on endpoint IN. More...
 
uint8_t * buf
 Buffer located in internal RAM to send or fill during job. More...
 
iram_size_t buf_size
 Size of buffer to send or fill. More...
 
uint16_t busy:1
 A job is registered on this pipe. More...
 
uhd_callback_trans_t call_end
 Callback to call at the end of transfer. More...
 
iram_size_t nb_trans
 Total number of transfered data on endpoint. More...
 
uint16_t timeout
 timeout on this request (ms) More...
 

uint16_t uhd_pipe_job_t::b_periodic_start

Periodic packet start for this job.

Referenced by uhd_ep_run(), and uhd_sof_interrupt().

uint16_t uhd_pipe_job_t::b_shortpacket

A short packet is requested for this job on endpoint IN.

Referenced by uhd_ep_run(), and uhd_pipe_out_ready().

uint8_t* uhd_pipe_job_t::buf

Buffer located in internal RAM to send or fill during job.

Referenced by uhd_ep_abort_pipe(), uhd_ep_run(), uhd_pipe_in_received(), and uhd_pipe_out_ready().

iram_size_t uhd_pipe_job_t::buf_size

Size of buffer to send or fill.

Referenced by uhd_ep_run(), uhd_pipe_in_received(), and uhd_pipe_out_ready().

uint16_t uhd_pipe_job_t::busy

A job is registered on this pipe.

Referenced by uhd_ep_run(), uhd_pipe_finish_job(), uhd_pipe_in_received(), uhd_pipe_out_ready(), and uhd_sof_interrupt().

uhd_callback_trans_t uhd_pipe_job_t::call_end

Callback to call at the end of transfer.

Referenced by uhd_ep_run(), and uhd_pipe_finish_job().

iram_size_t uhd_pipe_job_t::nb_trans

Total number of transfered data on endpoint.

Referenced by uhd_ep_abort_pipe(), uhd_ep_run(), uhd_pipe_finish_job(), uhd_pipe_in_received(), and uhd_pipe_out_ready().

uint16_t uhd_pipe_job_t::timeout

timeout on this request (ms)

Referenced by uhd_ep_run(), and uhd_sof_interrupt().