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

浏览该文件的源代码.

结构体

struct  rt_reset_controller
 
struct  rt_reset_control
 
struct  rt_reset_control_ops
 

宏定义

#define RT_RESET_CONTROLLER_OBJ_NAME   "RSTC"
 

函数

rt_err_t rt_reset_controller_register (struct rt_reset_controller *rstcer)
 
rt_err_t rt_reset_controller_unregister (struct rt_reset_controller *rstcer)
 
rt_err_t rt_reset_control_reset (struct rt_reset_control *rstc)
 
rt_err_t rt_reset_control_assert (struct rt_reset_control *rstc)
 
rt_err_t rt_reset_control_deassert (struct rt_reset_control *rstc)
 
int rt_reset_control_status (struct rt_reset_control *rstc)
 
rt_ssize_t rt_reset_control_get_count (struct rt_device *dev)
 
struct rt_reset_controlrt_reset_control_get_array (struct rt_device *dev)
 
struct rt_reset_controlrt_reset_control_get_by_index (struct rt_device *dev, int index)
 
struct rt_reset_controlrt_reset_control_get_by_name (struct rt_device *dev, const char *name)
 
void rt_reset_control_put (struct rt_reset_control *rstc)
 
struct rt_reset_controlrt_ofw_get_reset_control_array (struct rt_ofw_node *np)
 
struct rt_reset_controlrt_ofw_get_reset_control_by_index (struct rt_ofw_node *np, int index)
 
struct rt_reset_controlrt_ofw_get_reset_control_by_name (struct rt_ofw_node *np, const char *name)
 

宏定义说明

◆ RT_RESET_CONTROLLER_OBJ_NAME

#define RT_RESET_CONTROLLER_OBJ_NAME   "RSTC"

在文件 reset.h18 行定义.

函数说明

◆ rt_reset_controller_register()

rt_err_t rt_reset_controller_register ( struct rt_reset_controller * rstcer)

◆ rt_reset_controller_unregister()

rt_err_t rt_reset_controller_unregister ( struct rt_reset_controller * rstcer)

◆ rt_reset_control_reset()

rt_err_t rt_reset_control_reset ( struct rt_reset_control * rstc)

◆ rt_reset_control_assert()

rt_err_t rt_reset_control_assert ( struct rt_reset_control * rstc)

◆ rt_reset_control_deassert()

rt_err_t rt_reset_control_deassert ( struct rt_reset_control * rstc)

◆ rt_reset_control_status()

int rt_reset_control_status ( struct rt_reset_control * rstc)

◆ rt_reset_control_get_count()

rt_ssize_t rt_reset_control_get_count ( struct rt_device * dev)

◆ rt_reset_control_get_array()

struct rt_reset_control * rt_reset_control_get_array ( struct rt_device * dev)

◆ rt_reset_control_get_by_index()

struct rt_reset_control * rt_reset_control_get_by_index ( struct rt_device * dev,
int index )

◆ rt_reset_control_get_by_name()

struct rt_reset_control * rt_reset_control_get_by_name ( struct rt_device * dev,
const char * name )

◆ rt_reset_control_put()

void rt_reset_control_put ( struct rt_reset_control * rstc)

◆ rt_ofw_get_reset_control_array()

struct rt_reset_control * rt_ofw_get_reset_control_array ( struct rt_ofw_node * np)

◆ rt_ofw_get_reset_control_by_index()

struct rt_reset_control * rt_ofw_get_reset_control_by_index ( struct rt_ofw_node * np,
int index )

◆ rt_ofw_get_reset_control_by_name()

struct rt_reset_control * rt_ofw_get_reset_control_by_name ( struct rt_ofw_node * np,
const char * name )