mikroSDK Reference Manual
Device

Functions list

bool tud_audio_n_mounted (uint8_t func_id)
 
bool tud_audio_buffer_and_schedule_control_xfer (uint8_t rhport, tusb_control_request_t const *p_request, void *data, uint16_t len)
 
TU_ATTR_WEAK bool tud_audio_set_itf_cb (uint8_t rhport, tusb_control_request_t const *p_request)
 
TU_ATTR_WEAK bool tud_audio_set_itf_close_EP_cb (uint8_t rhport, tusb_control_request_t const *p_request)
 
TU_ATTR_WEAK bool tud_audio_set_req_ep_cb (uint8_t rhport, tusb_control_request_t const *p_request, uint8_t *pBuff)
 
TU_ATTR_WEAK bool tud_audio_set_req_itf_cb (uint8_t rhport, tusb_control_request_t const *p_request, uint8_t *pBuff)
 
TU_ATTR_WEAK bool tud_audio_set_req_entity_cb (uint8_t rhport, tusb_control_request_t const *p_request, uint8_t *pBuff)
 
TU_ATTR_WEAK bool tud_audio_get_req_ep_cb (uint8_t rhport, tusb_control_request_t const *p_request)
 
TU_ATTR_WEAK bool tud_audio_get_req_itf_cb (uint8_t rhport, tusb_control_request_t const *p_request)
 
TU_ATTR_WEAK bool tud_audio_get_req_entity_cb (uint8_t rhport, tusb_control_request_t const *p_request)
 
void audiod_init (void)
 
void audiod_reset (uint8_t rhport)
 
uint16_t audiod_open (uint8_t rhport, tusb_desc_interface_t const *itf_desc, uint16_t max_len)
 
bool audiod_control_xfer_cb (uint8_t rhport, uint8_t stage, tusb_control_request_t const *request)
 
bool audiod_xfer_cb (uint8_t rhport, uint8_t edpt_addr, xfer_result_t result, uint32_t xferred_bytes)
 
void audiod_sof_isr (uint8_t rhport, uint32_t frame_count)