ChibiOS/RT
6.0.3
|
Pipes code. More...
Go to the source code of this file.
Functions | |
static size_t | pipe_write (pipe_t *pp, const uint8_t *bp, size_t n) |
Non-blocking pipe write. More... | |
static size_t | pipe_read (pipe_t *pp, uint8_t *bp, size_t n) |
Non-blocking pipe read. More... | |
void | chPipeObjectInit (pipe_t *pp, uint8_t *buf, size_t n) |
Initializes a mailbox_t object. More... | |
void | chPipeReset (pipe_t *pp) |
Resets a pipe_t object. More... | |
size_t | chPipeWriteTimeout (pipe_t *pp, const uint8_t *bp, size_t n, sysinterval_t timeout) |
Pipe write with timeout. More... | |
size_t | chPipeReadTimeout (pipe_t *pp, uint8_t *bp, size_t n, sysinterval_t timeout) |
Pipe read with timeout. More... | |
Pipes code.
Byte pipes.
A pipe is an asynchronous communication mechanism.
Operations defined for mailboxes:
CH_CFG_USE_PIPES
option must be enabled in chconf.h
. Definition in file chpipes.c.