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

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

#include <irq.h>

Public Attributes

int32_t(* init )(struct irq_ctrl_desc **desc, const struct irq_init_param *param)
 
int32_t(* register_callback )(struct irq_ctrl_desc *desc, uint32_t irq_id, struct callback_desc *callback_desc)
 
int32_t(* unregister )(struct irq_ctrl_desc *desc, uint32_t irq_id)
 
int32_t(* global_enable )(struct irq_ctrl_desc *desc)
 
int32_t(* global_disable )(struct irq_ctrl_desc *desc)
 
int32_t(* trigger_level_set )(struct irq_ctrl_desc *desc, uint32_t irq_id, enum irq_trig_level trig)
 
int32_t(* enable )(struct irq_ctrl_desc *desc, uint32_t irq_id)
 
int32_t(* disable )(struct irq_ctrl_desc *desc, uint32_t irq_id)
 
int32_t(* remove )(struct irq_ctrl_desc *desc)
 

Detailed Description

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

Member Data Documentation

◆ disable

int32_t(* irq_platform_ops::disable) (struct irq_ctrl_desc *desc, uint32_t irq_id)

Disable specific interrupt

◆ enable

int32_t(* irq_platform_ops::enable) (struct irq_ctrl_desc *desc, uint32_t irq_id)

Enable specific interrupt

◆ global_disable

int32_t(* irq_platform_ops::global_disable) (struct irq_ctrl_desc *desc)

Global interrupt disable

◆ global_enable

int32_t(* irq_platform_ops::global_enable) (struct irq_ctrl_desc *desc)

Global interrupt enable

◆ init

int32_t(* irq_platform_ops::init) (struct irq_ctrl_desc **desc, const struct irq_init_param *param)

Initialize a interrupt controller peripheral.

◆ register_callback

int32_t(* irq_platform_ops::register_callback) (struct irq_ctrl_desc *desc, uint32_t irq_id, struct callback_desc *callback_desc)

Register a callback to handle the irq events

◆ remove

int32_t(* irq_platform_ops::remove) (struct irq_ctrl_desc *desc)

IRQ remove function pointer

◆ trigger_level_set

int32_t(* irq_platform_ops::trigger_level_set) (struct irq_ctrl_desc *desc, uint32_t irq_id, enum irq_trig_level trig)

Set interrupt trigger level.

◆ unregister

int32_t(* irq_platform_ops::unregister) (struct irq_ctrl_desc *desc, uint32_t irq_id)

Unregisters a generic IRQ handling function


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