no-OS
aducm3029_gpio_irq.h
Go to the documentation of this file.
1 /***************************************************************************/
40 #ifndef GPIO_IRQ_EXTRA_H_
41 #define GPIO_IRQ_EXTRA_H
42 
43 #include <drivers/xint/adi_xint.h>
44 
45 /******************************************************************************/
46 /***************************** Include Files **********************************/
47 /******************************************************************************/
56 };
57 
64  uint8_t irq_memory[ADI_XINT_MEMORY_SIZE];
67 };
68 
72 extern const struct no_os_irq_platform_ops aducm_gpio_irq_ops;
73 
74 #endif
ADUCM_XINT_SOFT_CTRL
@ ADUCM_XINT_SOFT_CTRL
Definition: aducm3029_gpio_irq.h:53
no_os_list_desc
Structure storing the list and function wrapper for usual list types.
Definition: no_os_list.h:234
no_os_alloc.h
no_os_list_get_last
int32_t no_os_list_get_last(struct no_os_list_desc *list_desc, void **data)
no_os_list_read_find
int32_t no_os_list_read_find(struct no_os_list_desc *list_desc, void **data, void *cmp_data)
NO_OS_IRQ_LEVEL_HIGH
@ NO_OS_IRQ_LEVEL_HIGH
Definition: no_os_irq.h:84
no_os_callback_desc
Structure describing a callback to be registered.
Definition: no_os_irq.h:148
irq_action::ctx
void * ctx
Definition: aducm3029_irq.h:131
no_os_irq.h
Header file of IRQ interface.
ADUCM_GPIO_B_GROUP_SOFT_CTRL
@ ADUCM_GPIO_B_GROUP_SOFT_CTRL
Definition: aducm3029_gpio_irq.h:55
no_os_list_get_find
int32_t no_os_list_get_find(struct no_os_list_desc *list_desc, void **data, void *cmp_data)
NO_OS_IRQ_LEVEL_LOW
@ NO_OS_IRQ_LEVEL_LOW
Definition: no_os_irq.h:83
no_os_irq_platform_ops::init
int32_t(* init)(struct no_os_irq_ctrl_desc **desc, const struct no_os_irq_init_param *param)
Definition: no_os_irq.h:168
aducm3029_gpio_irq.h
Header file of GPIO IRQ interface for ADuCM3029 platform.
no_os_calloc
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:60
NO_OS_IRQ_EDGE_FALLING
@ NO_OS_IRQ_EDGE_FALLING
Definition: no_os_irq.h:85
NO_OS_LIST_PRIORITY_LIST
@ NO_OS_LIST_PRIORITY_LIST
Definition: no_os_list.h:231
no_os_error.h
Error codes definition.
aducm_gpio_irq_ctrl_desc
Stores specific platform parameters.
Definition: aducm3029_gpio_irq.h:62
aducm_gpio_irq_ops
const struct no_os_irq_platform_ops aducm_gpio_irq_ops
maxim specific GPIO IRQ platform ops structure
Definition: aducm3029_gpio_irq.c:548
no_os_callback_desc::ctx
void * ctx
Definition: no_os_irq.h:152
no_os_irq_trig_level
no_os_irq_trig_level
Definition: no_os_irq.h:82
no_os_irq_init_param::irq_ctrl_id
uint32_t irq_ctrl_id
Definition: no_os_irq.h:115
irq_action::callback
void(* callback)(void *context)
Definition: aducm3029_irq.h:129
aducm_gpio_irq_ctrl_desc::actions
struct no_os_list_desc * actions
Definition: aducm3029_gpio_irq.h:66
aducm3029_irq.h
Header file of IRQ driver for ADuCM302x.
irq_action_cmp
int32_t irq_action_cmp(void *data1, void *data2)
Action comparator function.
Definition: aducm3029_irq.c:80
PORT
#define PORT(nb)
Definition: aducm3029_gpio.h:46
ADUCM_GPIO_A_GROUP_SOFT_CTRL
@ ADUCM_GPIO_A_GROUP_SOFT_CTRL
Definition: aducm3029_gpio_irq.h:54
aducm_gpio_irq_ops
const struct no_os_irq_platform_ops aducm_gpio_irq_ops
maxim platform specific gpio irq platform ops structure
Definition: aducm3029_gpio_irq.c:548
no_os_callback_desc::handle
void * handle
Definition: no_os_irq.h:158
no_os_callback_desc::callback
void(* callback)(void *context)
Definition: no_os_irq.h:150
irq_action::handle
void * handle
Definition: aducm3029_irq.h:127
no_os_list_remove
int32_t no_os_list_remove(struct no_os_list_desc *list_desc)
irq_action::irq_id
uint32_t irq_id
Definition: aducm3029_irq.h:125
irq_id
irq_id
Interrupts IDs supported by the irq driver.
Definition: aducm3029_irq.h:68
no_os_irq_platform_ops::remove
int32_t(* remove)(struct no_os_irq_ctrl_desc *desc)
Definition: no_os_irq.h:192
NO_OS_BIT
#define NO_OS_BIT(x)
Definition: no_os_util.h:51
no_os_free
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:75
irq_action
Struct used to store a (peripheral, callback) pair.
Definition: aducm3029_irq.h:123
no_os_list.h
List library header.
aducm_gpio_irq_ctrl_desc::irq_memory
uint8_t irq_memory[ADI_XINT_MEMORY_SIZE]
Definition: aducm3029_gpio_irq.h:64
NULL
#define NULL
Definition: wrapper.h:64
no_os_irq_ctrl_desc::irq_ctrl_id
uint32_t irq_ctrl_id
Definition: no_os_irq.h:131
no_os_irq_init_param
Structure holding the initial parameters for Interrupt Request.
Definition: no_os_irq.h:113
NO_OS_IRQ_EDGE_RISING
@ NO_OS_IRQ_EDGE_RISING
Definition: no_os_irq.h:86
no_os_gpio.h
Header file of GPIO Interface.
no_os_irq_platform_ops
Structure holding IRQ function pointers that point to the platform specific function.
Definition: no_os_irq.h:166
NO_OS_IRQ_EDGE_BOTH
@ NO_OS_IRQ_EDGE_BOTH
Definition: no_os_irq.h:87
irq_ctrl_id
irq_ctrl_id
Interrupt controllers ID.
Definition: aducm3029_gpio_irq.h:52
no_os_list_add_last
int32_t no_os_list_add_last(struct no_os_list_desc *list_desc, void *data)
no_os_list_init
int32_t no_os_list_init(struct no_os_list_desc **list_desc, enum no_os_adapter_type type, f_cmp comparator)
no_os_util.h
Header file of utility functions.
no_os_find_first_set_bit
uint32_t no_os_find_first_set_bit(uint32_t word)
irq_action::trig_lv
enum no_os_irq_trig_level trig_lv
Definition: aducm3029_irq.h:134
aducm3029_gpio.h
no_os_irq_ctrl_desc
Definition: no_os_irq.h:129
PIN
@ PIN
Definition: t_ad9528.h:162
no_os_irq_ctrl_desc::extra
void * extra
Definition: no_os_irq.h:140
errno.h
Error macro definition for ARM Compiler.