ChibiOS/RT  6.0.3
mailbox_t Struct Reference

Structure representing a mailbox object. More...

#include <chmboxes.h>

Collaboration diagram for mailbox_t:
Collaboration graph

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

Detailed Description

Structure representing a mailbox object.

Definition at line 52 of file chmboxes.h.

Field Documentation

msg_t* mailbox_t::buffer
msg_t* mailbox_t::top

Pointer to the location after the buffer.

Definition at line 55 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 57 of file chmboxes.h.

Referenced by chMBObjectInit(), chMBPostI(), chMBPostTimeoutS(), and chMBResetI().

msg_t* mailbox_t::rdptr
size_t mailbox_t::cnt
bool mailbox_t::reset
threads_queue_t mailbox_t::qw

Queued writers.

Definition at line 61 of file chmboxes.h.

Referenced by chMBFetchI(), chMBFetchTimeoutS(), chMBObjectInit(), chMBPostAheadTimeoutS(), chMBPostTimeoutS(), and chMBResetI().