|
Zephyr API Documentation 4.4.99
A Scalable Open Source RTOS
|
Devicetree macros for the Infineon XMC4xxx interrupt controller. More...
Files | |
| file | infineon-xmc4xxx-intc.h |
| Infineon XMC4xxx interrupt controller devicetree macros. | |
Macros | |
| #define | XMC4XXX_INTC_GET_PORT(mx) |
| Extract the GPIO port from a line mapping value. | |
| #define | XMC4XXX_INTC_GET_PIN(mx) |
| Extract the GPIO pin from a line mapping value. | |
| #define | XMC4XXX_INTC_GET_LINE(mx) |
| Extract the ERU output line from a line mapping value. | |
| #define | XMC4XXX_INTC_GET_ERU_SRC(mx) |
| Extract the ERU input source from a line mapping value. | |
| #define | XMC4XXX_INTC_SET_LINE_MAP(port, pin, eru_src, line) |
| Encode an ERU line mapping value. | |
Devicetree macros for the Infineon XMC4xxx interrupt controller.
Macros for encoding the ERU (Event Request Unit) line mapping cells used with the infineon,xmc4xxx-intc compatible interrupt controller. XMC4XXX_INTC_SET_LINE_MAP() packs the GPIO port and pin, the ERU input source eru_src and the ERU output line into a single mapping value; the matching XMC4XXX_INTC_GET_* accessors extract each field.
| #define XMC4XXX_INTC_GET_ERU_SRC | ( | mx | ) |
#include <zephyr/dt-bindings/interrupt-controller/infineon-xmc4xxx-intc.h>
Extract the ERU input source from a line mapping value.
| #define XMC4XXX_INTC_GET_LINE | ( | mx | ) |
#include <zephyr/dt-bindings/interrupt-controller/infineon-xmc4xxx-intc.h>
Extract the ERU output line from a line mapping value.
| #define XMC4XXX_INTC_GET_PIN | ( | mx | ) |
#include <zephyr/dt-bindings/interrupt-controller/infineon-xmc4xxx-intc.h>
Extract the GPIO pin from a line mapping value.
| #define XMC4XXX_INTC_GET_PORT | ( | mx | ) |
#include <zephyr/dt-bindings/interrupt-controller/infineon-xmc4xxx-intc.h>
Extract the GPIO port from a line mapping value.
| #define XMC4XXX_INTC_SET_LINE_MAP | ( | port, | |
| pin, | |||
| eru_src, | |||
| line ) |
#include <zephyr/dt-bindings/interrupt-controller/infineon-xmc4xxx-intc.h>
Encode an ERU line mapping value.
| port | GPIO port number. |
| pin | GPIO pin number. |
| eru_src | ERU input source. |
| line | ERU output line. |