/* Inform the application about the Interrupt IN transfer completion.  */
static void usbd_vendor_write_interrupt_async_complete(uint8_t ep_addr, void *p_buf, uint32_t buf_len, uint32_t xfer_len, void *p_arg, sl_status_t status)
/* Inform the application about the Interrupt IN transfer completion.  */
static void usbd_vendor_write_interrupt_async_complete(uint8_t ep_addr, void *p_buf, uint32_t buf_len, uint32_t xfer_len, void *p_arg, sl_status_t status)
{
  sli_usbd_vendor_ctrl_t *p_ctrl;
  void             *p_callback_arg;
  (void)&ep_addr;
  p_ctrl = (sli_usbd_vendor_ctrl_t *)p_arg;
  p_callback_arg = p_ctrl->interrupt_write_async_arg_ptr;
  p_ctrl->comm_ptr->interrupt_in_active_transfer = false;
  p_ctrl->interrupt_write_async_function(p_ctrl->class_nbr,
                                         p_buf,
                                         buf_len,
                                         xfer_len,
                                         p_callback_arg,
                                         status);
}