no-OS
gpio_irq_extra.h
Go to the documentation of this file.
1 /***************************************************************************/
40 #ifndef GPIO_IRQ_EXTRA_H_
41 #define GPIO_IRQ_EXTRA_H_
42 
43 /******************************************************************************/
44 /***************************** Include Files **********************************/
45 /******************************************************************************/
46 
47 #include "stdbool.h"
48 #include "no_os_list.h"
49 #include "xgpiops.h"
50 #include "no_os_irq.h"
51 
52 /******************************************************************************/
53 /*************************** Types Declarations *******************************/
54 /******************************************************************************/
60  int32_t pin_nb;
62  bool triggered;
63  bool enabled;
64 };
65 
73  int32_t gpio_device_id;
74 };
75 
82  XGpioPs my_Gpio;
84  struct no_os_iterator *it;
85 };
86 
90 extern const struct no_os_irq_platform_ops xil_gpio_irq_ops;
91 
92 #endif
no_os_list_desc
Structure storing the list and function wrapper for usual list types.
Definition: no_os_list.h:234
xil_gpio_irq_desc
Xilinx platform specific GPIO IRQ descriptor.
Definition: gpio_irq_extra.h:80
xil_gpio_irq_ops
const struct no_os_irq_platform_ops xil_gpio_irq_ops
Xilinx specific GPIO IRQ platform ops structure.
Definition: xilinx_gpio_irq.c:351
no_os_callback_desc
Structure describing a callback to be registered.
Definition: no_os_irq.h:136
no_os_irq.h
Header file of IRQ interface.
xil_callback_desc::pin_nb
int32_t pin_nb
Definition: gpio_irq_extra.h:60
xil_gpio_irq_init_param
Structure holding the initialization parameters for Xilinx platform specific GPIO IRQ parameters.
Definition: gpio_irq_extra.h:71
xil_callback_desc
Structure holding callback parameters for each pin.
Definition: gpio_irq_extra.h:59
xil_gpio_irq_desc::my_Gpio
XGpioPs my_Gpio
Definition: gpio_irq_extra.h:82
xil_gpio_irq_desc::parent_desc
struct no_os_irq_ctrl_desc * parent_desc
Definition: gpio_irq_extra.h:81
no_os_list.h
List library header.
xil_gpio_irq_init_param::gpio_device_id
int32_t gpio_device_id
Definition: gpio_irq_extra.h:73
xil_callback_desc::enabled
bool enabled
Definition: gpio_irq_extra.h:63
no_os_irq_platform_ops
Structure holding IRQ function pointers that point to the platform specific function.
Definition: no_os_irq.h:164
xil_callback_desc::triggered
bool triggered
Definition: gpio_irq_extra.h:62
xil_callback_desc::callback
struct no_os_callback_desc callback
Definition: gpio_irq_extra.h:61
xil_gpio_irq_desc::it
struct no_os_iterator * it
Definition: gpio_irq_extra.h:84
xil_gpio_irq_init_param::parent_desc
struct no_os_irq_ctrl_desc * parent_desc
Definition: gpio_irq_extra.h:72
no_os_irq_ctrl_desc
Definition: no_os_irq.h:119
xil_gpio_irq_desc::callback_list
struct no_os_list_desc * callback_list
Definition: gpio_irq_extra.h:83