USB configuration file for CDC application.
Copyright (c) 2013-2018 Microchip Technology Inc. and its subsidiaries.
#include "compiler.h"
#include "udi_cdc_conf.h"
#include "usb_protocol_cdc.h"
#include "unit_tests.h"
#include "stdio_usb.h"
#define UDC_RESUME_EVENT | ( | ) |
Referenced by ISR().
#define UDC_SOF_EVENT | ( | ) |
Referenced by ISR().
#define UDC_SUSPEND_EVENT | ( | ) |
Referenced by ISR().
#define UDC_VBUS_EVENT | ( | b_vbus_high | ) |
USB Device Callbacks definitions (Optional)
#define UDI_CDC_DEFAULT_DATABITS 8 |
Referenced by udi_cdc_comm_enable().
#define UDI_CDC_DEFAULT_PARITY CDC_PAR_NONE |
Referenced by udi_cdc_comm_enable().
#define UDI_CDC_DEFAULT_RATE 115200 |
Referenced by udi_cdc_comm_enable().
#define UDI_CDC_DEFAULT_STOPBITS CDC_STOP_BITS_1 |
Referenced by udi_cdc_comm_enable().
#define UDI_CDC_DISABLE_EXT | ( | port | ) | stdio_usb_disable() |
Referenced by udi_cdc_data_disable().
#define UDI_CDC_ENABLE_EXT | ( | port | ) | stdio_usb_enable() |
#define UDI_CDC_RX_NOTIFY | ( | port | ) |
Referenced by udi_cdc_rx_start().
#define UDI_CDC_SET_CODING_EXT | ( | port, | |
cfg | |||
) |
Referenced by udi_cdc_comm_enable(), and udi_cdc_line_coding_received().
#define UDI_CDC_SET_DTR_EXT | ( | port, | |
set | |||
) | main_cdc_set_dtr(set) |
Referenced by udi_cdc_comm_setup().
#define UDI_CDC_SET_RTS_EXT | ( | port, | |
set | |||
) |
Referenced by udi_cdc_comm_setup().
#define USB_DEVICE_ATTR (USB_CONFIG_ATTR_SELF_POWERED) |
#define USB_DEVICE_HS_SUPPORT |
Device speeds support Low speed not supported by CDC.
#define USB_DEVICE_MAJOR_VERSION 1 |
#define USB_DEVICE_MANUFACTURE_NAME "ATMEL ASF" |
#define USB_DEVICE_MINOR_VERSION 0 |
#define USB_DEVICE_POWER |
#define USB_DEVICE_PRODUCT_ID USB_PID_ATMEL_ASF_CDC |
#define USB_DEVICE_PRODUCT_NAME "CDC Virtual Com" |
#define USB_DEVICE_VENDOR_ID USB_VID_ATMEL |
USB Device Configuration.