27typedef volatile struct __attribute__((packed,aligned(4))) {
35#define NEORV32_XIRQ ((neorv32_xirq_t*) (NEORV32_XIRQ_BASE))
43 XIRQ_TRIGGER_LEVEL_LOW = 0b00,
44 XIRQ_TRIGGER_LEVEL_HIGH = 0b01,
45 XIRQ_TRIGGER_EDGE_FALLING = 0b10,
46 XIRQ_TRIGGER_EDGE_RISING = 0b11
void neorv32_xirq_setup_trigger(int channel, int config)
Definition neorv32_xirq.c:162
XIRQ_TRIGGER_enum
Definition neorv32_xirq.h:42
int neorv32_xirq_uninstall(int channel)
Definition neorv32_xirq.c:235
int neorv32_xirq_get_num(void)
Definition neorv32_xirq.c:123
void neorv32_xirq_global_enable(void)
Definition neorv32_xirq.c:99
int neorv32_xirq_install(int channel, void(*handler)(void))
Definition neorv32_xirq.c:214
int neorv32_xirq_setup(void)
Definition neorv32_xirq.c:79
int neorv32_xirq_available(void)
Definition neorv32_xirq.c:60
void neorv32_xirq_channel_enable(int channel)
Definition neorv32_xirq.c:190
void neorv32_xirq_global_disable(void)
Definition neorv32_xirq.c:111
void neorv32_xirq_channel_disable(int channel)
Definition neorv32_xirq.c:201
Definition neorv32_xirq.h:27
uint32_t TPOL
Definition neorv32_xirq.h:31
uint32_t TTYP
Definition neorv32_xirq.h:30
uint32_t ESC
Definition neorv32_xirq.h:29
uint32_t EIE
Definition neorv32_xirq.h:28