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

浏览该文件的源代码.

结构体

struct  rt_platform_device
 
struct  rt_platform_driver
 

宏定义

#define RT_PLATFORM_DRIVER_EXPORT(driver)
 

函数

struct rt_platform_devicert_platform_device_alloc (const char *name)
 
rt_err_t rt_platform_driver_register (struct rt_platform_driver *pdrv)
 
rt_err_t rt_platform_device_register (struct rt_platform_device *pdev)
 
rt_err_t rt_platform_ofw_device_probe_child (struct rt_ofw_node *np)
 
rt_err_t rt_platform_ofw_request (struct rt_ofw_node *np)
 
rt_err_t rt_platform_ofw_free (struct rt_platform_device *pdev)
 

宏定义说明

◆ RT_PLATFORM_DRIVER_EXPORT

#define RT_PLATFORM_DRIVER_EXPORT ( driver)
值:
RT_DRIVER_EXPORT(driver, platform, BUILIN)

在文件 platform.h51 行定义.

函数说明

◆ rt_platform_device_alloc()

struct rt_platform_device * rt_platform_device_alloc ( const char * name)

◆ rt_platform_driver_register()

rt_err_t rt_platform_driver_register ( struct rt_platform_driver * pdrv)

◆ rt_platform_device_register()

rt_err_t rt_platform_device_register ( struct rt_platform_device * pdev)

◆ rt_platform_ofw_device_probe_child()

rt_err_t rt_platform_ofw_device_probe_child ( struct rt_ofw_node * np)

◆ rt_platform_ofw_request()

rt_err_t rt_platform_ofw_request ( struct rt_ofw_node * np)

◆ rt_platform_ofw_free()

rt_err_t rt_platform_ofw_free ( struct rt_platform_device * pdev)