XWOS API
4.0
XWOS C/C++ API参考手册
载入中...
搜索中...
未找到
power.h
浏览该文件的文档.
1
21
#ifndef __xwcd_ds_soc_power_h__
22
#define __xwcd_ds_soc_power_h__
23
24
#include <
xwcd/ds/standard.h
>
25
#include <
xwcd/ds/soc/chip.h
>
26
43
xwer_t
xwds_pwr_req
(
struct
xwds_soc
* soc,
xwid_t
id
);
44
56
xwer_t
xwds_pwr_rls
(
struct
xwds_soc
* soc,
xwid_t
id
);
57
74
xwer_t
xwds_pwr_getvltg
(
struct
xwds_soc
* soc,
xwid_t
id
,
75
xwu32_t
* buf,
xwsz_t
* num);
76
81
#endif
/* xwcd/ds/soc/power.h */
xwds_pwr_req
xwer_t xwds_pwr_req(struct xwds_soc *soc, xwid_t id)
XWDS API:申请电源
Definition
power.c:26
xwds_pwr_rls
xwer_t xwds_pwr_rls(struct xwds_soc *soc, xwid_t id)
XWDS API:释放电源
Definition
power.c:57
xwds_pwr_getvltg
xwer_t xwds_pwr_getvltg(struct xwds_soc *soc, xwid_t id, xwu32_t *buf, xwsz_t *num)
XWDS API:获取电源电压
Definition
power.c:83
xwer_t
signed long xwer_t
Definition
type.h:554
xwid_t
unsigned long xwid_t
Definition
type.h:481
xwsz_t
unsigned long xwsz_t
Definition
type.h:339
xwu32_t
uint32_t xwu32_t
Definition
type.h:266
chip.h
玄武设备栈:SOC
xwds_soc
SOC设备
Definition
chip.h:161
standard.h
玄武设备栈:顶级头文件
xwcd
ds
soc
power.h
制作者
1.9.7