Microchip® Advanced Software Framework

udi_phdc_conf.h File Reference

Default PHDC configuration for a USB Device with a single interface.

Copyright (c) 2009-2018 Microchip Technology Inc. and its subsidiaries.

#include "udi_phdc.h"

Macros

#define UDI_PHDC_EP_BULK_IN   (2 | USB_EP_DIR_IN)
 
#define UDI_PHDC_EP_BULK_OUT   (1 | USB_EP_DIR_OUT)
 
#define UDI_PHDC_EP_INTERRUPT_IN   (3 | USB_EP_DIR_IN)
 
#define UDI_PHDC_EP_SIZE_BULK_IN   32
 
#define UDI_PHDC_EP_SIZE_BULK_OUT   32
 
#define UDI_PHDC_EP_SIZE_INT_IN   8
 
#define UDI_PHDC_IFACE_NUMBER   0
 
#define USB_DEVICE_EP_CTRL_SIZE   32 /* 8 is not supported by PHDC */
 
UDD Configuration
#define USB_DEVICE_MAX_EP   3