Zephyr API Documentation
2.7.0-rc2
A Scalable Open Source RTOS
|
Message Queue Structure. More...
#include <kernel.h>
Data Fields | |
_wait_q_t | wait_q |
struct k_spinlock | lock |
size_t | msg_size |
uint32_t | max_msgs |
char * | buffer_start |
char * | buffer_end |
char * | read_ptr |
char * | write_ptr |
uint32_t | used_msgs |
uint8_t | flags |
Message Queue Structure.
char* k_msgq::buffer_end |
End of message buffer
char* k_msgq::buffer_start |
Start of message buffer
uint8_t k_msgq::flags |
Message queue
struct k_spinlock k_msgq::lock |
Lock
uint32_t k_msgq::max_msgs |
Maximal number of messages
size_t k_msgq::msg_size |
Message size
char* k_msgq::read_ptr |
Read pointer
uint32_t k_msgq::used_msgs |
Number of used messages
_wait_q_t k_msgq::wait_q |
Message queue wait queue
char* k_msgq::write_ptr |
Write pointer