请问,在设备文件中,如果要使用CIC0的中断,该如何处理?
如:
Event No. | Event Name | Description |
0 | EDMACC_1_ERRINT | EDMA3CC1 error interrupt |
1 | EDMACC_1_MPINT | EDMA3CC1 memory protection interrupt |
2 | EDMACC_1_TC_0_ERRINT | EDMA3CC1 TPTC0 error interrupt |
3 | EDMACC_1_TC_1_ERRINT | EDMA3CC1 TPTC1 error interrupt |
4 | EDMACC_1_TC_2_ERRINT | EDMA3CC1 TPTC2 error interrupt |
5 | EDMACC_1_TC_3_ERRINT | EDMA3CC1 TPTC3 error interrupt |
6 | EDMACC_1_GINT | EDMA3CC1 GINT |
在dts文件中的如下部分如何编辑
interrupts = <GIC_SPI 200 IRQ_TYPE_EDGE_RISING>,
<GIC_SPI 216 IRQ_TYPE_EDGE_RISING>,
<GIC_SPI 217 IRQ_TYPE_EDGE_RISING>;
Shine:
请看一下下面的网站是否有用。 https://www.kernel.org/doc/Documentation/devicetree/bindings/dma/ti-edma.txt