9#ifndef ZEPHYR_DRIVERS_INTERRUPT_CONTROLLER_INTC_RA_ICU_H_
10#define ZEPHYR_DRIVERS_INTERRUPT_CONTROLLER_INTC_RA_ICU_H_
12#define RA_ICU_FLAG_EVENT_OFFSET 8
13#define RA_ICU_FLAG_EVENT_MASK (BIT_MASK(8) << RA_ICU_FLAG_EVENT_OFFSET)
14#define RA_ICU_FLAG_INTCFG_OFFSET 16
15#define RA_ICU_FLAG_INTCFG_MASK (BIT_MASK(8) << RA_ICU_FLAG_INTCFG_OFFSET)
35 void (*routine)(
const void *parameter),
const void *parameter,
39 void (*routine)(
const void *parameter),
int ra_icu_query_available_irq(uint32_t event)
void ra_icu_clear_int_flag(unsigned int irqn)
int ra_icu_irq_disconnect_dynamic(unsigned int irq, unsigned int priority, void(*routine)(const void *parameter), const void *parameter, uint32_t flags)
int ra_icu_query_exists_irq(uint32_t event)
int ra_icu_irq_connect_dynamic(unsigned int irq, unsigned int priority, void(*routine)(const void *parameter), const void *parameter, uint32_t flags)
icu_irq_mode
Definition intc_ra_icu.h:17
@ ICU_RISING
Definition intc_ra_icu.h:19
@ ICU_BOTH_EDGE
Definition intc_ra_icu.h:20
@ ICU_LOW_LEVEL
Definition intc_ra_icu.h:21
@ ICU_FALLING
Definition intc_ra_icu.h:18
void(* ra_isr_handler)(const void *)
Definition intc_ra_icu.h:24
void ra_icu_query_irq_config(unsigned int irq, uint32_t *intcfg, ra_isr_handler *pisr, const void **cbarg)
flags
Definition parser.h:96
__UINT32_TYPE__ uint32_t
Definition stdint.h:90