no-OS
All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
interrupt.h
Go to the documentation of this file.
1/***************************************************************************/
33#ifndef __INTER_H__
34#define __INTER_H__
35
36#include "no_os_irq.h"
37
38/* IRQ config */
39#define GPIO_IRQ_OPS &max_gpio_irq_ops
40#define GPIO_CTRL_IRQ_ID 0
41#define GPIO_IRQ_EXTRA &gpio_extra_ip
42#define NVIC_GPIO_IRQ GPIO2_IRQn
43
45int get_irq_flag_state(void);
46
48void reset_irq_flag_state(void);
49
51int inter_init_irq(struct ade7754_dev *dev);
52
53#endif /* __INTER__H__ */
void reset_irq_flag_state(void)
Reset irqn flag value.
Definition interrupt.c:71
int get_irq_flag_state(void)
Get irqn flag value.
Definition interrupt.c:62
int inter_init_irq(struct ade7753_dev *dev)
Initialize IRQN interrupt.
Definition interrupt.c:115
Header file of IRQ interface.
ADE7754 Device structure.
Definition ade7754.h:348