Added FIFO Pull function to remove one or more bytes from the FIFO. Added unit tests for FIFO Pull.

This commit is contained in:
skarg
2012-01-13 17:56:55 +00:00
parent 12d0d9f204
commit 6fefac808f
2 changed files with 133 additions and 69 deletions
+5
View File
@@ -76,6 +76,11 @@ extern "C" {
uint8_t FIFO_Get(
FIFO_BUFFER * b);
unsigned FIFO_Pull(
FIFO_BUFFER * b,
uint8_t * data_bytes,
unsigned length);
bool FIFO_Put(
FIFO_BUFFER * b,
uint8_t data_byte);