ChibiOS/HAL
6.1.0
|
I/O Buffers code. More...
Go to the source code of this file.
Functions | |
void | ibqObjectInit (input_buffers_queue_t *ibqp, bool suspended, uint8_t *bp, size_t size, size_t n, bqnotify_t infy, void *link) |
Initializes an input buffers queue object. More... | |
void | ibqResetI (input_buffers_queue_t *ibqp) |
Resets an input buffers queue. More... | |
uint8_t * | ibqGetEmptyBufferI (input_buffers_queue_t *ibqp) |
Gets the next empty buffer from the queue. More... | |
void | ibqPostFullBufferI (input_buffers_queue_t *ibqp, size_t size) |
Posts a new filled buffer to the queue. More... | |
msg_t | ibqGetFullBufferTimeout (input_buffers_queue_t *ibqp, sysinterval_t timeout) |
Gets the next filled buffer from the queue. More... | |
msg_t | ibqGetFullBufferTimeoutS (input_buffers_queue_t *ibqp, sysinterval_t timeout) |
Gets the next filled buffer from the queue. More... | |
void | ibqReleaseEmptyBuffer (input_buffers_queue_t *ibqp) |
Releases the buffer back in the queue. More... | |
void | ibqReleaseEmptyBufferS (input_buffers_queue_t *ibqp) |
Releases the buffer back in the queue. More... | |
msg_t | ibqGetTimeout (input_buffers_queue_t *ibqp, sysinterval_t timeout) |
Input queue read with timeout. More... | |
size_t | ibqReadTimeout (input_buffers_queue_t *ibqp, uint8_t *bp, size_t n, sysinterval_t timeout) |
Input queue read with timeout. More... | |
void | obqObjectInit (output_buffers_queue_t *obqp, bool suspended, uint8_t *bp, size_t size, size_t n, bqnotify_t onfy, void *link) |
Initializes an output buffers queue object. More... | |
void | obqResetI (output_buffers_queue_t *obqp) |
Resets an output buffers queue. More... | |
uint8_t * | obqGetFullBufferI (output_buffers_queue_t *obqp, size_t *sizep) |
Gets the next filled buffer from the queue. More... | |
void | obqReleaseEmptyBufferI (output_buffers_queue_t *obqp) |
Releases the next filled buffer back in the queue. More... | |
msg_t | obqGetEmptyBufferTimeout (output_buffers_queue_t *obqp, sysinterval_t timeout) |
Gets the next empty buffer from the queue. More... | |
msg_t | obqGetEmptyBufferTimeoutS (output_buffers_queue_t *obqp, sysinterval_t timeout) |
Gets the next empty buffer from the queue. More... | |
void | obqPostFullBuffer (output_buffers_queue_t *obqp, size_t size) |
Posts a new filled buffer to the queue. More... | |
void | obqPostFullBufferS (output_buffers_queue_t *obqp, size_t size) |
Posts a new filled buffer to the queue. More... | |
msg_t | obqPutTimeout (output_buffers_queue_t *obqp, uint8_t b, sysinterval_t timeout) |
Output queue write with timeout. More... | |
size_t | obqWriteTimeout (output_buffers_queue_t *obqp, const uint8_t *bp, size_t n, sysinterval_t timeout) |
Output queue write with timeout. More... | |
bool | obqTryFlushI (output_buffers_queue_t *obqp) |
Flushes the current, partially filled, buffer to the queue. More... | |
void | obqFlush (output_buffers_queue_t *obqp) |
Flushes the current, partially filled, buffer to the queue. More... | |
I/O Buffers code.
Definition in file hal_buffers.c.