Microchip® Advanced Software Framework

uhd_pipe_job_t Struct Reference

Structure definition to store registered jobs on a pipe.

Data Fields

uint8_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...
 
uint8_t * buf_internal
 Internal buffer allocated in internal RAM to receive data in case of small user buffer. More...
 
iram_size_t buf_size
 Size of buffer to send or fill. More...
 
uint8_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...
 

uint8_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_trans_complet().

uint8_t* uhd_pipe_job_t::buf

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

Referenced by uhd_ep_run(), and uhd_pipe_trans_complet().

uint8_t* uhd_pipe_job_t::buf_internal

Internal buffer allocated in internal RAM to receive data in case of small user buffer.

Referenced by uhd_pipe_finish_job(), and uhd_pipe_trans_complet().

iram_size_t uhd_pipe_job_t::buf_size

Size of buffer to send or fill.

Referenced by uhd_ep_run(), and uhd_pipe_trans_complet().

uint8_t uhd_pipe_job_t::busy

A job is registered on this pipe.

Referenced by uhd_ep_run(), uhd_pipe_finish_job(), uhd_pipe_trans_complet(), 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(), and uhd_pipe_trans_complet().

uint16_t uhd_pipe_job_t::timeout

timeout on this request (ms)

Referenced by uhd_ep_run(), and uhd_sof_interrupt().