USB Device Communication Device Class (CDC) interface definitions. More...
#include "conf_usb.h"#include "usb_protocol.h"#include "usb_protocol_cdc.h"#include "udd.h"#include "udc_desc.h"#include "udi.h"

Go to the source code of this file.
Classes | |
| struct | udi_cdc_comm_desc_t | 
| Communication Class interface descriptor.  More... | |
| struct | udi_cdc_data_desc_t | 
| Data Class interface descriptor.  More... | |
Functions | |
Interface for application with single CDC interface support  | |
| void | udi_cdc_ctrl_signal_dcd (bool b_set) | 
| Notify a state change of DCD signal.  More... | |
| void | udi_cdc_ctrl_signal_dsr (bool b_set) | 
| Notify a state change of DSR signal.  More... | |
| void | udi_cdc_signal_framing_error (void) | 
| Notify a framing error.  More... | |
| void | udi_cdc_signal_parity_error (void) | 
| Notify a parity error.  More... | |
| void | udi_cdc_signal_overrun (void) | 
| Notify a overrun.  More... | |
| iram_size_t | udi_cdc_get_nb_received_data (void) | 
| Gets the number of byte received.  More... | |
| bool | udi_cdc_is_rx_ready (void) | 
| This function checks if a character has been received on the CDC line.  More... | |
| int | udi_cdc_getc (void) | 
| Waits and gets a value on CDC line.  More... | |
| iram_size_t | udi_cdc_read_buf (void *buf, iram_size_t size) | 
| Reads a RAM buffer on CDC line.  More... | |
| iram_size_t | udi_cdc_read_no_polling (void *buf, iram_size_t size) | 
| Non polling reads of a up to 'size' data from CDC line.  More... | |
| iram_size_t | udi_cdc_get_free_tx_buffer (void) | 
| Gets the number of free byte in TX buffer.  More... | |
| bool | udi_cdc_is_tx_ready (void) | 
| This function checks if a new character sent is possible The type int is used to support scanf redirection from compiler LIB.  More... | |
| int | udi_cdc_putc (int value) | 
| Puts a byte on CDC line The type int is used to support printf redirection from compiler LIB.  More... | |
| iram_size_t | udi_cdc_write_buf (const void *buf, iram_size_t size) | 
| Writes a RAM buffer on CDC line.  More... | |
Interface for application with multi CDC interfaces support  | |
| void | udi_cdc_multi_ctrl_signal_dcd (uint8_t port, bool b_set) | 
| Notify a state change of DCD signal.  More... | |
| void | udi_cdc_multi_ctrl_signal_dsr (uint8_t port, bool b_set) | 
| Notify a state change of DSR signal.  More... | |
| void | udi_cdc_multi_signal_framing_error (uint8_t port) | 
| Notify a framing error.  More... | |
| void | udi_cdc_multi_signal_parity_error (uint8_t port) | 
| Notify a parity error.  More... | |
| void | udi_cdc_multi_signal_overrun (uint8_t port) | 
| Notify a overrun.  More... | |
| iram_size_t | udi_cdc_multi_get_nb_received_data (uint8_t port) | 
| Gets the number of byte received.  More... | |
| bool | udi_cdc_multi_is_rx_ready (uint8_t port) | 
| This function checks if a character has been received on the CDC line.  More... | |
| int | udi_cdc_multi_getc (uint8_t port) | 
| Waits and gets a value on CDC line.  More... | |
| iram_size_t | udi_cdc_multi_read_buf (uint8_t port, void *buf, iram_size_t size) | 
| Reads a RAM buffer on CDC line.  More... | |
| iram_size_t | udi_cdc_multi_get_free_tx_buffer (uint8_t port) | 
| Gets the number of free byte in TX buffer.  More... | |
| bool | udi_cdc_multi_is_tx_ready (uint8_t port) | 
| This function checks if a new character sent is possible The type int is used to support scanf redirection from compiler LIB.  More... | |
| int | udi_cdc_multi_putc (uint8_t port, int value) | 
| Puts a byte on CDC line The type int is used to support printf redirection from compiler LIB.  More... | |
| iram_size_t | udi_cdc_multi_write_buf (uint8_t port, const void *buf, iram_size_t size) | 
| Writes a RAM buffer on CDC line.  More... | |
Variables | |
| UDC_DESC_STORAGE udi_api_t | udi_api_cdc_comm | 
| Global structure which contains standard UDI API for UDC.  More... | |
| UDC_DESC_STORAGE udi_api_t | udi_api_cdc_data | 
USB Device Communication Device Class (CDC) interface definitions.
Copyright (c) 2009-2018 Microchip Technology Inc. and its subsidiaries.
Definition in file udi_cdc.h.