no-OS
Public Attributes | List of all members
no_os_irq_platform_ops Struct Reference

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)
 

Detailed Description

Structure holding IRQ function pointers that point to the platform specific function.

Member Data Documentation

◆ disable

int32_t(* no_os_irq_platform_ops::disable) (struct no_os_irq_ctrl_desc *desc, uint32_t irq_id)

Disable specific interrupt

◆ enable

int32_t(* no_os_irq_platform_ops::enable) (struct no_os_irq_ctrl_desc *desc, uint32_t irq_id)

Enable specific interrupt

◆ global_disable

int32_t(* no_os_irq_platform_ops::global_disable) (struct no_os_irq_ctrl_desc *desc)

Global interrupt disable

◆ global_enable

int32_t(* no_os_irq_platform_ops::global_enable) (struct no_os_irq_ctrl_desc *desc)

Global interrupt enable

◆ init

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.

◆ register_callback

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 legacy_callback to handle the irq events

◆ remove

int32_t(* no_os_irq_platform_ops::remove) (struct no_os_irq_ctrl_desc *desc)

IRQ remove function pointer

◆ set_priority

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

◆ trigger_level_set

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.

◆ unregister_callback

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


The documentation for this struct was generated from the following file: