|
Two buffers for each sense are used to optimize the speed.
|
| static volatile uint8_t | udi_cdc_nb_data_enabled = 0 |
| | Status of CDC DATA interfaces. More...
|
| |
| static volatile bool | udi_cdc_data_running = false |
| |
| void | udi_cdc_comm_disable (void) |
| |
| bool | udi_cdc_comm_setup (void) |
| |
| bool | udi_cdc_data_enable (void) |
| |
| void | udi_cdc_data_disable (void) |
| |
| bool | udi_cdc_data_setup (void) |
| |
| uint8_t | udi_cdc_getsetting (void) |
| |
| void | udi_cdc_data_sof_notify (void) |
| |
| | COMPILER_ALIGNED (32) |
| | Buffer to receive data. More...
|
| |
| 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...
|
| |
| 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...
|
| |
| iram_size_t | udi_cdc_get_nb_received_data (void) |
| | 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...
|
| |
| bool | udi_cdc_is_rx_ready (void) |
| | 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...
|
| |
| int | udi_cdc_getc (void) |
| | 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...
|
| |
| static iram_size_t | udi_cdc_multi_read_no_polling (uint8_t port, void *buf, iram_size_t size) |
| |
| 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_read_buf (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...
|
| |
| iram_size_t | udi_cdc_get_free_tx_buffer (void) |
| | 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...
|
| |
| 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_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...
|
| |
| 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_multi_write_buf (uint8_t port, const void *buf, iram_size_t size) |
| | Writes a RAM buffer on CDC line. More...
|
| |
| iram_size_t | udi_cdc_write_buf (const void *buf, iram_size_t size) |
| | Writes a RAM buffer on CDC line. More...
|
| |
USB Device Communication Device Class (CDC) interface.
Copyright (c) 2009-2018 Microchip Technology Inc. and its subsidiaries.
Definition in file udi_cdc.c.