RT-Thread RTOS
1.2.0
An open source embedded real-time operating system
载入中...
搜索中...
未找到
rt_dev_bus.h
浏览该文件的文档.
1
/*
2
* Copyright (c) 2006-2023, RT-Thread Development Team
3
*
4
* SPDX-License-Identifier: Apache-2.0
5
*
6
* Change Logs:
7
* Date Author Notes
8
* 2022-10-13 flybreak the first version
9
*/
10
11
#ifndef __RT_DEV_BUS_H__
12
#define __RT_DEV_BUS_H__
13
#include <
rtthread.h
>
14
15
rt_device_t
rt_device_bus_create
(
char
*name,
int
attach_size);
16
rt_err_t
rt_device_bus_destroy
(
rt_device_t
dev);
17
18
#endif
/* __RT_BUS_H__ */
rt_device_t
struct rt_device * rt_device_t
定义
rtdef.h:1332
rt_device_bus_destroy
rt_err_t rt_device_bus_destroy(rt_device_t dev)
rt_device_bus_create
rt_device_t rt_device_bus_create(char *name, int attach_size)
rtthread.h
rt_err_t
rt_base_t rt_err_t
定义
rttypes.h:84
components
drivers
include
drivers
rt_dev_bus.h
制作者
1.13.1