Microchip® Advanced Software Framework

udi_vendor.c File Reference

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

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...