RTEMS 6.1-rc5
Loading...
Searching...
No Matches
Macros | Enumerations

This header file provides interfaces of the ARM Generic Interrupt Controller (GIC) support. More...

#include <dev/irq/arm-gic-regs.h>
#include <stdbool.h>

Go to the source code of this file.

Macros

#define GIC_ID_TO_ONE_BIT_REG_INDEX(id)   ((id) >> 5)
 
#define GIC_ID_TO_ONE_BIT_REG_BIT(id)   (1U << ((id) & 0x1fU))
 
#define GIC_ID_TO_TWO_BITS_REG_INDEX(id)   ((id) >> 4)
 
#define GIC_ID_TO_TWO_BITS_REG_OFFSET(id)   (((id) & 0xfU) << 1)
 

Enumerations

enum  gic_group { GIC_GROUP_0 , GIC_GROUP_1 }
 
enum  gic_trigger_mode { GIC_LEVEL_SENSITIVE , GIC_EDGE_TRIGGERED }
 
enum  gic_handling_model { GIC_N_TO_N , GIC_1_TO_N }
 

Detailed Description

This header file provides interfaces of the ARM Generic Interrupt Controller (GIC) support.