Structure describing a callback to be registered.
Definition: no_os_irq.h:142
Header file of IRQ interface.
int32_t no_os_irq_register_callback(struct no_os_irq_ctrl_desc *desc, uint32_t irq_id, struct no_os_callback_desc *callback_desc)
Register a callback to handle the irq events.
Definition: no_os_irq.c:92
void reset_rcd_flag_state(void)
Reset RCD flag value.
Definition: rcd.c:79
struct no_os_gpio_init_param ade9113_gpio_rcddc_ip
Definition: common_data.c:128
@ NO_OS_GPIO_HIGH
Definition: no_os_gpio.h:117
int32_t no_os_gpio_direction_input(struct no_os_gpio_desc *desc)
Enable the input direction of the specified GPIO.
Definition: no_os_gpio.c:124
int rcd_init(struct no_os_irq_ctrl_desc *irq_desc, struct no_os_gpio_desc **rcm_test, struct no_os_gpio_desc **rcddc, struct no_os_gpio_desc **rcdac)
Initialize pilot phase.
Definition: rcd.c:92
int32_t no_os_irq_set_priority(struct no_os_irq_ctrl_desc *desc, uint32_t irq_id, uint32_t priority_level)
Set the priority for an interrupt.
Definition: no_os_irq.c:216
void(* callback)(void *context)
Definition: no_os_irq.h:144
Structure holding the GPIO descriptor.
Definition: no_os_gpio.h:96
Structure for Interrupt Request descriptor.
struct no_os_gpio_init_param ade9113_gpio_rcm_test_ip
Definition: common_data.c:112
int rcd_init(struct no_os_irq_ctrl_desc *desc, struct no_os_gpio_desc **rcm_test, struct no_os_gpio_desc **rcddc, struct no_os_gpio_desc **rcdac)
Initialize pilot phase.
Definition: rcd.c:92
int get_rcd_flag_state(void)
Get RCD flag value.
Definition: rcd.c:69
struct no_os_gpio_init_param ade9113_gpio_rcdac_ip
Definition: common_data.c:120
#define NULL
Definition: wrapper.h:64
@ NO_OS_EVT_GPIO
Definition: no_os_irq.h:62
@ NO_OS_IRQ_EDGE_RISING
Definition: no_os_irq.h:80
int32_t no_os_irq_enable(struct no_os_irq_ctrl_desc *desc, uint32_t irq_id)
Enable specific interrupt.
Definition: no_os_irq.c:181
Header file of GPIO Interface.
@ NO_OS_GPIO_IRQ
Definition: no_os_irq.h:85
int32_t no_os_irq_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.
Definition: no_os_irq.c:162
Definition: no_os_irq.h:123
int32_t no_os_gpio_direction_output(struct no_os_gpio_desc *desc, uint8_t value)
Enable the output direction of the specified GPIO.
Definition: no_os_gpio.c:147
void reset_rcd_flag_state(void)
Reset RCD flag value.
Definition: rcd.c:79
int get_rcd_flag_state(void)
Get RCD flag value.
Definition: rcd.c:69
int32_t no_os_gpio_get_optional(struct no_os_gpio_desc **desc, const struct no_os_gpio_init_param *param)
Get the value of an optional GPIO.
Definition: no_os_gpio.c:75