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

浏览该文件的源代码.

宏定义

#define serial_for_each_args(arg, args)
 

函数

int serial_dev_set_name (struct rt_serial_device *sdev)
 
void * serial_base_from_args (char *str)
 
struct serial_configure serial_cfg_from_args (char *str)
 

宏定义说明

◆ serial_for_each_args

#define serial_for_each_args ( arg,
args )
值:
for (char *context = (arg = (typeof(arg))args, (void *)RT_NULL), \
*context_end = strchrnul((char *)args, ' '); \
(arg = strtok_r(arg, ",", &context)) && arg < context_end; \
arg = RT_NULL)
#define RT_NULL

在文件 serial_dm.h23 行定义.

23#define serial_for_each_args(arg, args) \
24 for (char *context = (arg = (typeof(arg))args, (void *)RT_NULL), \
25 *context_end = strchrnul((char *)args, ' '); \
26 (arg = strtok_r(arg, ",", &context)) && arg < context_end; \
27 arg = RT_NULL)

函数说明

◆ serial_dev_set_name()

int serial_dev_set_name ( struct rt_serial_device * sdev)

◆ serial_base_from_args()

void * serial_base_from_args ( char * str)

◆ serial_cfg_from_args()

struct serial_configure serial_cfg_from_args ( char * str)

引用了 serial_cfg_from_args().

+ 函数调用图:
+ 这是这个函数的调用关系图: