isrpipe Interface More...
isrpipe Interface
Definition in file isrpipe.h.
Go to the source code of this file.
Data Structures | |
struct | isrpipe_t |
Context structure for isrpipe. More... | |
Macros | |
#define | ISRPIPE_INIT(tsrb_buf) |
Static initializer for irspipe. | |
Functions | |
void | isrpipe_init (isrpipe_t *isrpipe, uint8_t *buf, size_t bufsize) |
Initialisation function for isrpipe. | |
int | isrpipe_write_one (isrpipe_t *isrpipe, uint8_t c) |
Put one byte into the isrpipe's buffer. | |
int | isrpipe_write (isrpipe_t *isrpipe, const uint8_t *buf, size_t n) |
Put number of bytes into the isrpipe's buffer. | |
int | isrpipe_read (isrpipe_t *isrpipe, uint8_t *buf, size_t count) |
Read data from isrpipe (blocking) | |