ChibiOS/NIL
4.0.1
|
Structure representing a pipe object. More...
#include <chpipes.h>
Data Fields | |
uint8_t * | buffer |
Pointer to the pipe buffer. More... | |
uint8_t * | top |
Pointer to the location after the buffer. More... | |
uint8_t * | wrptr |
Write pointer. More... | |
uint8_t * | rdptr |
Read pointer. More... | |
size_t | cnt |
Bytes in the pipe. More... | |
bool | reset |
True if in reset state. More... | |
thread_reference_t | wtr |
Waiting writer. More... | |
thread_reference_t | rtr |
Waiting reader. More... | |
mutex_t | cmtx |
Common access mutex. More... | |
mutex_t | wmtx |
Write access mutex. More... | |
mutex_t | rmtx |
Read access mutex. More... | |
uint8_t* pipe_t::buffer |
Pointer to the pipe buffer.
Definition at line 53 of file chpipes.h.
Referenced by chPipeGetSize(), and chPipeObjectInit().
uint8_t* pipe_t::top |
Pointer to the location after the buffer.
Definition at line 55 of file chpipes.h.
Referenced by chPipeGetSize(), and chPipeObjectInit().
uint8_t* pipe_t::wrptr |
uint8_t* pipe_t::rdptr |
size_t pipe_t::cnt |
Bytes in the pipe.
Definition at line 59 of file chpipes.h.
Referenced by chPipeGetUsedCount(), and chPipeObjectInit().
bool pipe_t::reset |
True if in reset state.
Definition at line 60 of file chpipes.h.
Referenced by chPipeObjectInit(), chPipeReadTimeout(), chPipeResume(), and chPipeWriteTimeout().
thread_reference_t pipe_t::wtr |
thread_reference_t pipe_t::rtr |