Implementation of the discussed changes

- remove usbd_edpt_xfer_abort
- rename tu_fifo_change_mode to tu_fifo_set_mode
- remove CFG_TUD_CDC_CLEAR_AT_CONNECTION definition
- remove auto fifo clear at connection event
- add tud_cdc_n_write_clear function
This commit is contained in:
Jan Dümpelmann
2020-11-18 09:42:50 +01:00
parent af9f0f1cd6
commit 54e29e9ff4
6 changed files with 24 additions and 46 deletions

View File

@@ -89,7 +89,7 @@ typedef struct
.non_used_index_space = 0xFFFF - 2*_depth-1, \
}
bool tu_fifo_change_mode(tu_fifo_t *f, bool overwritable);
bool tu_fifo_set_mode(tu_fifo_t *f, bool overwritable);
bool tu_fifo_clear(tu_fifo_t *f);
bool tu_fifo_config(tu_fifo_t *f, void* buffer, uint16_t depth, uint16_t item_size, bool overwritable);