RT-Thread RTOS 1.2.0
An open source embedded real-time operating system
载入中...
搜索中...
未找到
mailbox.h 文件参考
#include <rtdef.h>
#include <drivers/ofw.h>
+ mailbox.h 的引用(Include)关系图:

浏览该文件的源代码.

结构体

struct  rt_mbox_controller
 
struct  rt_mbox_controller_ops
 
struct  rt_mbox_chan
 
struct  rt_mbox_client
 

函数

rt_err_t rt_mbox_controller_register (struct rt_mbox_controller *ctrl)
 
rt_err_t rt_mbox_controller_unregister (struct rt_mbox_controller *ctrl)
 
rt_err_t rt_mbox_send (struct rt_mbox_chan *chan, const void *data, rt_uint32_t timeout_ms)
 
void rt_mbox_send_done (struct rt_mbox_chan *chan, rt_err_t err)
 
rt_bool_t rt_mbox_peek (struct rt_mbox_chan *chan)
 
rt_err_t rt_mbox_recv (struct rt_mbox_chan *chan, void *data)
 
struct rt_mbox_chanrt_mbox_request_by_index (struct rt_mbox_client *client, int index)
 
struct rt_mbox_chanrt_mbox_request_by_name (struct rt_mbox_client *client, char *name)
 
rt_err_t rt_mbox_release (struct rt_mbox_chan *chan)
 

函数说明

◆ rt_mbox_controller_register()

rt_err_t rt_mbox_controller_register ( struct rt_mbox_controller * ctrl)

◆ rt_mbox_controller_unregister()

rt_err_t rt_mbox_controller_unregister ( struct rt_mbox_controller * ctrl)

◆ rt_mbox_send()

rt_err_t rt_mbox_send ( struct rt_mbox_chan * chan,
const void * data,
rt_uint32_t timeout_ms )

◆ rt_mbox_send_done()

void rt_mbox_send_done ( struct rt_mbox_chan * chan,
rt_err_t err )

◆ rt_mbox_peek()

rt_bool_t rt_mbox_peek ( struct rt_mbox_chan * chan)

◆ rt_mbox_recv()

rt_err_t rt_mbox_recv ( struct rt_mbox_chan * chan,
void * data )

◆ rt_mbox_request_by_index()

struct rt_mbox_chan * rt_mbox_request_by_index ( struct rt_mbox_client * client,
int index )

◆ rt_mbox_request_by_name()

struct rt_mbox_chan * rt_mbox_request_by_name ( struct rt_mbox_client * client,
char * name )

◆ rt_mbox_release()

rt_err_t rt_mbox_release ( struct rt_mbox_chan * chan)