XWOS API  4.0
XWOS C/C++ API参考手册
载入中...
搜索中...
未找到
eirq.h
浏览该文件的文档.
1
21#ifndef __xwcd_ds_soc_eirq_h__
22#define __xwcd_ds_soc_eirq_h__
23
24#include <xwcd/ds/standard.h>
25#include <xwcd/ds/soc/chip.h>
26
35#define XWDS_EIRQ(x) ((xwid_t)x)
36
51};
52
69xwer_t xwds_eirq_req(struct xwds_soc * soc, xwid_t port, xwsq_t pinmask,
70 xwid_t eiid, xwsq_t eiflag,
72
86xwer_t xwds_eirq_rls(struct xwds_soc * soc, xwid_t port, xwsq_t pinmask,
87 xwid_t eiid);
88
93#endif /* xwcd/ds/soc/eirq.h */
@ XWDS_SOC_EIF_TM_EITHER
Definition eirq.h:43
@ XWDS_SOC_EIF_TM_LOW
Definition eirq.h:45
@ XWDS_SOC_EIF_TM_RISING
Definition eirq.h:41
@ XWDS_SOC_EIF_DMA
Definition eirq.h:50
@ XWDS_SOC_EIF_TM_FALLING
Definition eirq.h:42
@ XWDS_SOC_EIF_WKUP
Definition eirq.h:49
@ XWDS_SOC_EIF_TM_MASK
Definition eirq.h:47
@ XWDS_SOC_EIF_TM_HIGH
Definition eirq.h:46
void(* xwds_eirq_f)(struct xwds_soc *, xwid_t, xwds_eirq_arg_t)
外部中断函数
Definition chip.h:143
xwer_t xwds_eirq_req(struct xwds_soc *soc, xwid_t port, xwsq_t pinmask, xwid_t eiid, xwsq_t eiflag, xwds_eirq_f isr, xwds_eirq_arg_t arg)
XWDS API:申请外部中断
Definition eirq.c:26
xwer_t xwds_eirq_rls(struct xwds_soc *soc, xwid_t port, xwsq_t pinmask, xwid_t eiid)
XWDS API:释放外部中断
Definition eirq.c:80
xwds_soc_ei_flag_em
外部中断标志
Definition eirq.h:40
void * xwds_eirq_arg_t
外部中断函数参数
Definition chip.h:138
signed long xwer_t
Definition type.h:554
unsigned long xwid_t
Definition type.h:481
unsigned long xwsq_t
Definition type.h:445
#define XWBOP_BIT(n)
Definition xwbop.h:27
玄武设备栈:SOC
SOC设备
Definition chip.h:161
玄武设备栈:顶级头文件