Structure definition about job registered on an endpoint.
Data Fields | |
union { | |
udd_callback_halt_cleared_t call_nohalt | |
Callback to call when the endpoint halt is cleared. More... | |
udd_callback_trans_t call_trans | |
Callback to call at the end of transfer. More... | |
}; | |
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... | |
iram_size_t | buf_cnt |
Size of data loaded (or prepared for DMA) last time. More... | |
iram_size_t | buf_load |
iram_size_t | buf_size |
Size of buffer to send or fill. More... | |
uint8_t | busy:1 |
A job is registered on this endpoint. More... | |
uint8_t | stall_requested:1 |
A stall has been requested but not executed. More... | |
union { ... } |
uint8_t udd_ep_job_t::b_shortpacket |
A short packet is requested for this job on endpoint IN.
Referenced by udd_ep_alloc(), udd_ep_run(), and udd_ep_trans_done().
uint8_t* udd_ep_job_t::buf |
Buffer located in internal RAM to send or fill during job.
Referenced by udd_ep_alloc(), udd_ep_run(), and udd_ep_trans_done().
iram_size_t udd_ep_job_t::buf_cnt |
Size of data loaded (or prepared for DMA) last time.
Referenced by udd_ep_alloc(), udd_ep_interrupt(), udd_ep_run(), and udd_ep_trans_done().
iram_size_t udd_ep_job_t::buf_load |
Referenced by udd_ep_alloc(), udd_ep_run(), and udd_ep_trans_done().
iram_size_t udd_ep_job_t::buf_size |
Size of buffer to send or fill.
Size of data transfered
Referenced by udd_ep_alloc(), udd_ep_finish_job(), udd_ep_interrupt(), udd_ep_run(), and udd_ep_trans_done().
uint8_t udd_ep_job_t::busy |
A job is registered on this endpoint.
Referenced by udd_ep_alloc(), udd_ep_clear_halt(), udd_ep_finish_job(), udd_ep_job_table_reset(), udd_ep_run(), udd_ep_set_halt(), udd_ep_trans_done(), and udd_ep_wait_stall_clear().
udd_callback_halt_cleared_t udd_ep_job_t::call_nohalt |
Callback to call when the endpoint halt is cleared.
Referenced by udd_ep_clear_halt(), and udd_ep_wait_stall_clear().
udd_callback_trans_t udd_ep_job_t::call_trans |
Callback to call at the end of transfer.
Referenced by udd_ep_alloc(), udd_ep_finish_job(), and udd_ep_run().
uint8_t udd_ep_job_t::stall_requested |
A stall has been requested but not executed.
Referenced by udd_ep_clear_halt(), udd_ep_free(), udd_ep_interrupt(), udd_ep_job_table_reset(), udd_ep_run(), udd_ep_set_halt(), and udd_ep_wait_stall_clear().