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

浏览该文件的源代码.

结构体

struct  rt_syscon
 

函数

rt_err_t rt_syscon_read (struct rt_syscon *syscon, rt_off_t offset, rt_uint32_t *out_val)
 
rt_err_t rt_syscon_write (struct rt_syscon *syscon, rt_off_t offset, rt_uint32_t val)
 
rt_err_t rt_syscon_update_bits (struct rt_syscon *syscon, rt_off_t offset, rt_uint32_t mask, rt_uint32_t val)
 
struct rt_sysconrt_syscon_find_by_ofw_node (struct rt_ofw_node *np)
 
struct rt_sysconrt_syscon_find_by_ofw_compatible (const char *compatible)
 
struct rt_sysconrt_syscon_find_by_ofw_phandle (struct rt_ofw_node *np, const char *propname)
 

函数说明

◆ rt_syscon_read()

rt_err_t rt_syscon_read ( struct rt_syscon * syscon,
rt_off_t offset,
rt_uint32_t * out_val )

◆ rt_syscon_write()

rt_err_t rt_syscon_write ( struct rt_syscon * syscon,
rt_off_t offset,
rt_uint32_t val )

◆ rt_syscon_update_bits()

rt_err_t rt_syscon_update_bits ( struct rt_syscon * syscon,
rt_off_t offset,
rt_uint32_t mask,
rt_uint32_t val )

◆ rt_syscon_find_by_ofw_node()

struct rt_syscon * rt_syscon_find_by_ofw_node ( struct rt_ofw_node * np)

◆ rt_syscon_find_by_ofw_compatible()

struct rt_syscon * rt_syscon_find_by_ofw_compatible ( const char * compatible)

◆ rt_syscon_find_by_ofw_phandle()

struct rt_syscon * rt_syscon_find_by_ofw_phandle ( struct rt_ofw_node * np,
const char * propname )