Zephyr API 3.6.99
Loading...
Searching...
No Matches
intc_ra_icu.h File Reference

Go to the source code of this file.

Macros

#define ZEPHYR_DRIVERS_INTERRUPT_CONTROLLER_INTC_RA_ICU_H_
 
#define RA_ICU_FLAG_EVENT_OFFSET   8
 
#define RA_ICU_FLAG_EVENT_MASK   (BIT_MASK(8) << RA_ICU_FLAG_EVENT_OFFSET)
 
#define RA_ICU_FLAG_INTCFG_OFFSET   16
 
#define RA_ICU_FLAG_INTCFG_MASK   (BIT_MASK(8) << RA_ICU_FLAG_INTCFG_OFFSET)
 

Typedefs

typedef void(* ra_isr_handler) (const void *)
 

Enumerations

enum  icu_irq_mode { ICU_FALLING , ICU_RISING , ICU_BOTH_EDGE , ICU_LOW_LEVEL }
 

Functions

void ra_icu_clear_int_flag (unsigned int irqn)
 
int ra_icu_query_available_irq (uint32_t event)
 
int ra_icu_query_exists_irq (uint32_t event)
 
void ra_icu_query_irq_config (unsigned int irq, uint32_t *intcfg, ra_isr_handler *pisr, const void **cbarg)
 
int ra_icu_irq_connect_dynamic (unsigned int irq, unsigned int priority, void(*routine)(const void *parameter), const void *parameter, uint32_t flags)
 
int ra_icu_irq_disconnect_dynamic (unsigned int irq, unsigned int priority, void(*routine)(const void *parameter), const void *parameter, uint32_t flags)
 

Macro Definition Documentation

◆ RA_ICU_FLAG_EVENT_MASK

#define RA_ICU_FLAG_EVENT_MASK   (BIT_MASK(8) << RA_ICU_FLAG_EVENT_OFFSET)

◆ RA_ICU_FLAG_EVENT_OFFSET

#define RA_ICU_FLAG_EVENT_OFFSET   8

◆ RA_ICU_FLAG_INTCFG_MASK

#define RA_ICU_FLAG_INTCFG_MASK   (BIT_MASK(8) << RA_ICU_FLAG_INTCFG_OFFSET)

◆ RA_ICU_FLAG_INTCFG_OFFSET

#define RA_ICU_FLAG_INTCFG_OFFSET   16

◆ ZEPHYR_DRIVERS_INTERRUPT_CONTROLLER_INTC_RA_ICU_H_

#define ZEPHYR_DRIVERS_INTERRUPT_CONTROLLER_INTC_RA_ICU_H_

Typedef Documentation

◆ ra_isr_handler

typedef void(* ra_isr_handler) (const void *)

Enumeration Type Documentation

◆ icu_irq_mode

Enumerator
ICU_FALLING 
ICU_RISING 
ICU_BOTH_EDGE 
ICU_LOW_LEVEL 

Function Documentation

◆ ra_icu_clear_int_flag()

void ra_icu_clear_int_flag ( unsigned int irqn)
extern

◆ ra_icu_irq_connect_dynamic()

int ra_icu_irq_connect_dynamic ( unsigned int irq,
unsigned int priority,
void(* routine )(const void *parameter),
const void * parameter,
uint32_t flags )
extern

◆ ra_icu_irq_disconnect_dynamic()

int ra_icu_irq_disconnect_dynamic ( unsigned int irq,
unsigned int priority,
void(* routine )(const void *parameter),
const void * parameter,
uint32_t flags )
extern

◆ ra_icu_query_available_irq()

int ra_icu_query_available_irq ( uint32_t event)
extern

◆ ra_icu_query_exists_irq()

int ra_icu_query_exists_irq ( uint32_t event)
extern

◆ ra_icu_query_irq_config()

void ra_icu_query_irq_config ( unsigned int irq,
uint32_t * intcfg,
ra_isr_handler * pisr,
const void ** cbarg )
extern