RT-Thread RTOS 1.2.0
An open source embedded real-time operating system
载入中...
搜索中...
未找到

#include <rtdef.h>

成员变量

struct rt_ipc_object parent
 
rt_ubase_tmsg_pool
 
rt_uint16_t size
 
rt_uint16_t entry
 
rt_uint16_t in_offset
 
rt_uint16_t out_offset
 
rt_list_t suspend_sender_thread
 
struct rt_spinlock spinlock
 

详细描述

mailbox structure

在文件 rtdef.h1079 行定义.

结构体成员变量说明

◆ parent

struct rt_ipc_object rt_mailbox::parent

inherit from ipc_object

在文件 rtdef.h1081 行定义.

◆ msg_pool

rt_ubase_t* rt_mailbox::msg_pool

start address of message buffer

在文件 rtdef.h1083 行定义.

◆ size

rt_uint16_t rt_mailbox::size

size of message pool

在文件 rtdef.h1085 行定义.

◆ entry

rt_uint16_t rt_mailbox::entry

index of messages in msg_pool

在文件 rtdef.h1087 行定义.

◆ in_offset

rt_uint16_t rt_mailbox::in_offset

input offset of the message buffer

在文件 rtdef.h1088 行定义.

◆ out_offset

rt_uint16_t rt_mailbox::out_offset

output offset of the message buffer

在文件 rtdef.h1089 行定义.

◆ suspend_sender_thread

rt_list_t rt_mailbox::suspend_sender_thread

sender thread suspended on this mailbox

在文件 rtdef.h1091 行定义.

◆ spinlock

struct rt_spinlock rt_mailbox::spinlock

在文件 rtdef.h1092 行定义.