/* Adds a Microsoft OS extended property to this vendor class instance Abort read bulk transfer.  */
sl_status_t sl_usbd_vendor_abort_read_bulk(uint8_t class_nbr)
/* Adds a Microsoft OS extended property to this vendor class instance Abort read bulk transfer.  */
sl_status_t sl_usbd_vendor_abort_read_bulk(uint8_t class_nbr)
{
  sli_usbd_vendor_ctrl_t *p_ctrl;
  bool                    conn;
  sl_status_t             status;
  sl_usbd_vendor_is_enabled(class_nbr, &conn);
  if (conn != true) {
    return SL_STATUS_INVALID_STATE;
  }
  p_ctrl = &usbd_vendor.ctrl_table[class_nbr];
  status = sl_usbd_core_abort_endpoint(p_ctrl->comm_ptr->data_bulk_out_endpoint_address);
  if (status != SL_STATUS_OK) {
    return status;
  }
  return SL_STATUS_OK;
}