USB Vendor class interface.
Copyright (c) 2011-2018 Microchip Technology Inc. and its subsidiaries.
#include "conf_usb.h"
#include "usb_protocol.h"
#include "usb_protocol_vendor.h"
#include "udd.h"
#include "udc.h"
#include "udi_vendor.h"
#include <string.h>
Functions | |
bool | udi_vendor_bulk_in_run (uint8_t *buf, iram_size_t buf_size, udd_callback_trans_t callback) |
Start a transfer on bulk IN. More... | |
bool | udi_vendor_bulk_out_run (uint8_t *buf, iram_size_t buf_size, udd_callback_trans_t callback) |
Start a transfer on bulk OUT. More... | |
bool | udi_vendor_interrupt_in_run (uint8_t *buf, iram_size_t buf_size, udd_callback_trans_t callback) |
Start a transfer on interrupt IN. More... | |
bool | udi_vendor_interrupt_out_run (uint8_t *buf, iram_size_t buf_size, udd_callback_trans_t callback) |
Start a transfer on interrupt OUT. More... | |
Internal routines | |
bool | udi_vendor_enable (void) |
void | udi_vendor_disable (void) |
bool | udi_vendor_setup (void) |
uint8_t | udi_vendor_getsetting (void) |
Variables | |
UDC_DESC_STORAGE udi_api_t | udi_api_vendor |
Global structure which contains standard UDI API for UDC. More... | |
static uint8_t | udi_vendor_alternate_setting = 0 |
USB descriptor alternate setting used. More... | |