int32_t xil_irq_ctrl_remove(struct no_os_irq_ctrl_desc *desc)
Free the resources allocated by no_os_irq_ctrl_init().
Definition: xilinx_irq.c:360
Structure describing a callback to be registered.
Definition: no_os_irq.h:142
Header file of IRQ interface.
int32_t xil_irq_register_callback(struct no_os_irq_ctrl_desc *desc, uint32_t irq_id, struct no_os_callback_desc *callback_desc)
Register a callback to handle the irq events.
Definition: xilinx_irq.c:239
#define NO_OS_IS_ERR_VALUE(x)
Definition: no_os_error.h:50
enum xil_irq_type type
Definition: xilinx_irq.h:66
xil_irq_type
Xilinx platform architecture sections.
Definition: xilinx_irq.h:52
Xilinx platform specific IRQ descriptor.
Definition: xilinx_irq.h:73
void * no_os_calloc(size_t nitems, size_t size)
Allocate memory and return a pointer to it, set memory to 0.
Definition: chibios_alloc.c:54
void * extra
Definition: no_os_irq.h:116
enum xil_irq_type type
Definition: xilinx_irq.h:75
const struct no_os_irq_platform_ops xil_irq_ops
Xilinx platform specific IRQ platform ops structure.
Definition: xilinx_irq.c:373
void * ctx
Definition: no_os_irq.h:146
no_os_irq_trig_level
Definition: no_os_irq.h:76
uint32_t irq_ctrl_id
Definition: no_os_irq.h:109
void(* callback)(void *context)
Definition: no_os_irq.h:144
void * instance
Definition: xilinx_irq.h:77
int32_t xil_irq_global_disable(struct no_os_irq_ctrl_desc *desc)
Disable global interrupts.
Definition: xilinx_irq.c:166
@ IRQ_PS
Definition: xilinx_irq.h:56
int32_t xil_irq_unregister_callback(struct no_os_irq_ctrl_desc *desc, uint32_t irq_id, struct no_os_callback_desc *cb)
Unregisters a generic IRQ handling function.
Definition: xilinx_irq.c:331
irq_id
Interrupts IDs supported by the irq driver.
Definition: aducm3029_irq.h:62
const struct no_os_irq_platform_ops xil_irq_ops
Xilinx specific IRQ platform ops structure.
Definition: xilinx_irq.c:373
void no_os_free(void *ptr)
Deallocate memory previously allocated by a call to no_os_calloc or no_os_malloc.
Definition: chibios_alloc.c:69
#define NULL
Definition: wrapper.h:64
uint32_t irq_ctrl_id
Definition: no_os_irq.h:125
Structure holding the initial parameters for Interrupt Request.
Definition: no_os_irq.h:107
int32_t xil_irq_disable(struct no_os_irq_ctrl_desc *desc, uint32_t irq_id)
Disable specific interrupt.
Definition: xilinx_irq.c:209
@ IRQ_PL
Definition: xilinx_irq.h:54
int32_t xil_irq_enable(struct no_os_irq_ctrl_desc *desc, uint32_t irq_id)
Enable specific interrupt.
Definition: xilinx_irq.c:180
@ NO_OS_IRQ_EDGE_BOTH
Definition: no_os_irq.h:81
int32_t xil_irq_ctrl_init(struct no_os_irq_ctrl_desc **desc, const struct no_os_irq_init_param *param)
Initialize the IRQ interrupts.
Definition: xilinx_irq.c:64
Definition: no_os_irq.h:123
void * extra
Definition: no_os_irq.h:134
Structure holding the initialization parameters for Xilinx platform specific IRQ parameters.
Definition: xilinx_irq.h:64
int32_t xil_irq_global_enable(struct no_os_irq_ctrl_desc *desc)
Enable global interrupts.
Definition: xilinx_irq.c:154
int32_t xil_irq_trigger_level_set(struct no_os_irq_ctrl_desc *desc, uint32_t irq_id, enum no_os_irq_trig_level trig)
Set interrupt trigger level.
Definition: xilinx_irq.c:287