csp_buffer.h File Reference
Go to the source code of this file.
Functions | |
int | csp_buffer_init (int count, int size) |
Start the buffer handling system You must specify the number for buffers and the size. More... | |
void * | csp_buffer_get (size_t size) |
Get a reference to a free buffer. More... | |
void * | csp_buffer_get_isr (size_t buf_size) |
Get a reference to a free buffer. More... | |
void | csp_buffer_free (void *packet) |
Free a buffer after use. More... | |
void | csp_buffer_free_isr (void *packet) |
Free a buffer after use in ISR context. More... | |
void * | csp_buffer_clone (void *buffer) |
Clone an existing packet and increase/decrease cloned packet size. More... | |
int | csp_buffer_remaining (void) |
Return how many buffers that are currently free. More... | |
int | csp_buffer_size (void) |
Return the size of the CSP buffers. More... | |