New function to modify fifo overwritability

This commit is contained in:
Jan Dümpelmann
2020-09-03 17:21:32 +02:00
parent fd6cf9010b
commit 4071e490e2
3 changed files with 21 additions and 1 deletions

View File

@@ -76,6 +76,7 @@ typedef struct
.overwritable = _overwritable, \
}
bool tu_fifo_change_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);