zephyrproject-rtos / zephyr

Primary Git Repository for the Zephyr Project. Zephyr is a new generation, scalable, optimized, secure RTOS for multiple hardware architectures.
https://docs.zephyrproject.org
Apache License 2.0
10.92k stars 6.65k forks source link

devicetree: Get interrupt flags through binding-API #81746

Closed rruuaanng closed 5 hours ago

rruuaanng commented 7 hours ago

It can be used to obtain the cell in interrupts-extended in the interrupt devicetree(but the value it gets is the result of combining the attributes.)

I'm not sure if this is what @bjarki-andreasen expects. I feel that the usage scenario of this API is not much different from the definition in the binding-rule and device tree in the binding-api test environment.

rruuaanng commented 6 hours ago

There doesn't seem to be an irq_flags.h. Can you give me a link to it?

Edit I see :) sorry.

rruuaanng commented 5 hours ago

I se