isrpipe.h File Reference

isrpipe Interface More...

Detailed Description

isrpipe Interface

Author
Kaspar Schleiser kaspa.nosp@m.r@sc.nosp@m.hleis.nosp@m.er.d.nosp@m.e

Definition in file isrpipe.h.

#include <stdint.h>
#include "mutex.h"
#include "tsrb.h"
+ Include dependency graph for isrpipe.h:
+ This graph shows which files directly or indirectly include this file:

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. More...
 

Functions

void isrpipe_init (isrpipe_t *isrpipe, uint8_t *buf, size_t bufsize)
 Initialisation function for isrpipe. More...
 
int isrpipe_write_one (isrpipe_t *isrpipe, uint8_t c)
 Put one character into the isrpipe's buffer. More...
 
int isrpipe_read (isrpipe_t *isrpipe, uint8_t *buf, size_t count)
 Read data from isrpipe (blocking) More...