|
embeddedlibrary
reusable software modules for embedded systems
|
#include <stdint.h>#include <stdbool.h>Go to the source code of this file.
Data Structures | |
| struct | buffer_t |
Macros | |
| #define | BUFFER_PUSH_FAILED 1 |
| push failed (return value of PushData() ) | |
| #define | BUFFER_PUSH_SUCCEEDED 0 |
| push succeeded (return value of PushData() ) | |
Functions | |
| void | Push (buffer_t *buffer, char data) |
| char | Pop (buffer_t *buffer) |
| uint16_t | GetSize (buffer_t *buffer) |
| void | BufferInit (buffer_t *buffer, char *data_array, uint16_t max_size) |
| void | BufferSetCallback (buffer_t *buffer, void(*Callback)(buffer_t *buffer)) |
| void | BufferClearCallback (buffer_t *buffer) |
| char | PushData (buffer_t *buffer, char *data, uint16_t length) |