XWOS API
4.0
XWOS C/C++ API参考手册
|
BSP中需要提供的SOC设备驱动函数表 更多...
#include <chip.h>
成员变量 | |
struct xwds_driver | base |
xwer_t(* | get_reset_reason )(struct xwds_soc *, xwu64_t *) |
xwer_t(* | gpio_req )(struct xwds_soc *, xwid_t, xwsq_t) |
xwer_t(* | gpio_rls )(struct xwds_soc *, xwid_t, xwid_t) |
xwer_t(* | gpio_cfg )(struct xwds_soc *, xwid_t, xwsq_t, void *) |
xwer_t(* | gpio_output )(struct xwds_soc *, xwid_t, xwsq_t, xwsq_t) |
xwer_t(* | gpio_set )(struct xwds_soc *, xwid_t, xwsq_t) |
xwer_t(* | gpio_reset )(struct xwds_soc *, xwid_t, xwsq_t) |
xwer_t(* | gpio_toggle )(struct xwds_soc *, xwid_t, xwsq_t) |
xwer_t(* | gpio_input )(struct xwds_soc *, xwid_t, xwsq_t, xwsq_t *) |
xwer_t(* | eirq_req )(struct xwds_soc *, xwid_t, xwsq_t, xwid_t, xwsq_t) |
xwer_t(* | eirq_rls )(struct xwds_soc *, xwid_t, xwsq_t, xwid_t) |
struct xwds_driver xwds_soc_driver::base |
C语言面向对象:继承struct xwds_driver