ChibiOS/RT
5.1.0
|
Structure representing a mailbox object. More...
#include <chmboxes.h>
Data Fields | |
msg_t * | buffer |
Pointer to the mailbox buffer. More... | |
msg_t * | top |
Pointer to the location after the buffer. More... | |
msg_t * | wrptr |
Write pointer. More... | |
msg_t * | rdptr |
Read pointer. More... | |
size_t | cnt |
Messages in queue. More... | |
bool | reset |
True in reset state. More... | |
threads_queue_t | qw |
Queued writers. More... | |
threads_queue_t | qr |
Queued readers. More... | |
Structure representing a mailbox object.
Definition at line 56 of file chmboxes.h.
msg_t* mailbox_t::buffer |
Pointer to the mailbox buffer.
Definition at line 57 of file chmboxes.h.
Referenced by chMBFetchI(), chMBFetchTimeoutS(), chMBGetSizeI(), chMBObjectInit(), chMBPostAheadI(), chMBPostAheadTimeoutS(), chMBPostI(), chMBPostTimeoutS(), and chMBResetI().
msg_t* mailbox_t::top |
Pointer to the location after the buffer.
Definition at line 59 of file chmboxes.h.
Referenced by chMBFetchI(), chMBFetchTimeoutS(), chMBGetSizeI(), chMBObjectInit(), chMBPostAheadI(), chMBPostAheadTimeoutS(), chMBPostI(), and chMBPostTimeoutS().
msg_t* mailbox_t::wrptr |
Write pointer.
Definition at line 61 of file chmboxes.h.
Referenced by chMBObjectInit(), chMBPostI(), chMBPostTimeoutS(), and chMBResetI().
msg_t* mailbox_t::rdptr |
Read pointer.
Definition at line 62 of file chmboxes.h.
Referenced by chMBFetchI(), chMBFetchTimeoutS(), chMBObjectInit(), chMBPeekI(), chMBPostAheadI(), chMBPostAheadTimeoutS(), and chMBResetI().
size_t mailbox_t::cnt |
Messages in queue.
Definition at line 63 of file chmboxes.h.
Referenced by chMBFetchI(), chMBFetchTimeoutS(), chMBGetUsedCountI(), chMBObjectInit(), chMBPostAheadI(), chMBPostAheadTimeoutS(), chMBPostI(), chMBPostTimeoutS(), and chMBResetI().
bool mailbox_t::reset |
True in reset state.
Definition at line 64 of file chmboxes.h.
Referenced by chMBFetchI(), chMBFetchTimeoutS(), chMBObjectInit(), chMBPostAheadI(), chMBPostAheadTimeoutS(), chMBPostI(), chMBPostTimeoutS(), chMBResetI(), and chMBResumeX().
threads_queue_t mailbox_t::qw |
Queued writers.
Definition at line 65 of file chmboxes.h.
Referenced by chMBFetchI(), chMBFetchTimeoutS(), chMBObjectInit(), chMBPostAheadTimeoutS(), chMBPostTimeoutS(), and chMBResetI().
threads_queue_t mailbox_t::qr |
Queued readers.
Definition at line 66 of file chmboxes.h.
Referenced by chMBFetchTimeoutS(), chMBObjectInit(), chMBPostAheadI(), chMBPostAheadTimeoutS(), chMBPostI(), chMBPostTimeoutS(), and chMBResetI().