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
43xwer_t xwds_pwr_req(struct xwds_soc * soc, xwid_t id);
44
56xwer_t xwds_pwr_rls(struct xwds_soc * soc, xwid_t id);
57
74xwer_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 */
xwer_t xwds_pwr_req(struct xwds_soc *soc, xwid_t id)
XWDS API:申请电源
Definition power.c:26
xwer_t xwds_pwr_rls(struct xwds_soc *soc, xwid_t id)
XWDS API:释放电源
Definition power.c:57
xwer_t xwds_pwr_getvltg(struct xwds_soc *soc, xwid_t id, xwu32_t *buf, xwsz_t *num)
XWDS API:获取电源电压
Definition power.c:83
signed long xwer_t
Definition type.h:554
unsigned long xwid_t
Definition type.h:481
unsigned long xwsz_t
Definition type.h:339
uint32_t xwu32_t
Definition type.h:266
玄武设备栈:SOC
SOC设备
Definition chip.h:161
玄武设备栈:顶级头文件