no-OS
|
Structure holding IRQ function pointers that point to the platform specific function. More...
#include <no_os_irq.h>
Public Attributes | |
int32_t(* | init )(struct no_os_irq_ctrl_desc **desc, const struct no_os_irq_init_param *param) |
int32_t(* | register_callback )(struct no_os_irq_ctrl_desc *desc, uint32_t irq_id, struct no_os_callback_desc *callback) |
int32_t(* | unregister_callback )(struct no_os_irq_ctrl_desc *desc, uint32_t irq_id, struct no_os_callback_desc *callback) |
int32_t(* | global_enable )(struct no_os_irq_ctrl_desc *desc) |
int32_t(* | global_disable )(struct no_os_irq_ctrl_desc *desc) |
int32_t(* | trigger_level_set )(struct no_os_irq_ctrl_desc *desc, uint32_t irq_id, enum no_os_irq_trig_level trig) |
int32_t(* | enable )(struct no_os_irq_ctrl_desc *desc, uint32_t irq_id) |
int32_t(* | disable )(struct no_os_irq_ctrl_desc *desc, uint32_t irq_id) |
int32_t(* | set_priority )(struct no_os_irq_ctrl_desc *desc, uint32_t irq_id, uint32_t priority_level) |
int32_t(* | remove )(struct no_os_irq_ctrl_desc *desc) |
int32_t(* | clear_pending )(struct no_os_irq_ctrl_desc *desc, uint32_t irq_id) |
Structure holding IRQ function pointers that point to the platform specific function.
int32_t(* no_os_irq_platform_ops::clear_pending) (struct no_os_irq_ctrl_desc *desc, uint32_t irq_id) |
Clear pending interrupt
int32_t(* no_os_irq_platform_ops::disable) (struct no_os_irq_ctrl_desc *desc, uint32_t irq_id) |
Disable specific interrupt
int32_t(* no_os_irq_platform_ops::enable) (struct no_os_irq_ctrl_desc *desc, uint32_t irq_id) |
Enable specific interrupt
int32_t(* no_os_irq_platform_ops::global_disable) (struct no_os_irq_ctrl_desc *desc) |
Global interrupt disable
int32_t(* no_os_irq_platform_ops::global_enable) (struct no_os_irq_ctrl_desc *desc) |
Global interrupt enable
int32_t(* no_os_irq_platform_ops::init) (struct no_os_irq_ctrl_desc **desc, const struct no_os_irq_init_param *param) |
Initialize a interrupt controller peripheral.
int32_t(* no_os_irq_platform_ops::register_callback) (struct no_os_irq_ctrl_desc *desc, uint32_t irq_id, struct no_os_callback_desc *callback) |
Register a callback to handle the irq events
int32_t(* no_os_irq_platform_ops::remove) (struct no_os_irq_ctrl_desc *desc) |
IRQ remove function pointer
int32_t(* no_os_irq_platform_ops::set_priority) (struct no_os_irq_ctrl_desc *desc, uint32_t irq_id, uint32_t priority_level) |
Set the priority level for a specific interrupt
int32_t(* no_os_irq_platform_ops::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.
int32_t(* no_os_irq_platform_ops::unregister_callback) (struct no_os_irq_ctrl_desc *desc, uint32_t irq_id, struct no_os_callback_desc *callback) |
Unregisters a generic IRQ handling function