TwiceAsNice  2019-02-18
Classes | Macros | Functions
gsc_irq.h File Reference
#include "gsc_event.h"
Include dependency graph for gsc_irq.h:
This graph shows which files directly or indirectly include this file:

Classes

struct  gsc_irq_src_t
 
struct  gsc_irq_t
 

Macros

#define GSC_MAIN_INT_DMA_0   0
 
#define GSC_MAIN_INT_DMA_1   1
 
#define GSC_MAIN_INT_LOCAL   2
 
#define GSC_MAIN_INT_QTY_MAX   3
 
#define GSC_LOCAL_INT_QTY_MAX   32 /* REWORK required if made larger than 32. */
 

Functions

U32 gsc_irq_create (gsc_irq_t *irq, gsc_device_t *device)
 
void gsc_irq_destroy (gsc_irq_t *irq)
 
U32 gsc_irq_disable (gsc_irq_t *irq)
 
U32 gsc_irq_enable (gsc_irq_t *irq)
 
U32 gsc_irq_local_create (gsc_irq_t *irq, const char *name, U32 int_id, gsc_event_t **local)
 
U32 gsc_irq_local_wait (gsc_irq_t *irq, U32 mask, U32 timeout_ms)
 
U32 gsc_irq_main_create (gsc_irq_t *irq, const char *name, U32 int_id, gsc_event_t **main)
 

Macro Definition Documentation

◆ GSC_LOCAL_INT_QTY_MAX

#define GSC_LOCAL_INT_QTY_MAX   32 /* REWORK required if made larger than 32. */

◆ GSC_MAIN_INT_DMA_0

#define GSC_MAIN_INT_DMA_0   0

◆ GSC_MAIN_INT_DMA_1

#define GSC_MAIN_INT_DMA_1   1

◆ GSC_MAIN_INT_LOCAL

#define GSC_MAIN_INT_LOCAL   2

◆ GSC_MAIN_INT_QTY_MAX

#define GSC_MAIN_INT_QTY_MAX   3

Function Documentation

◆ gsc_irq_create()

U32 gsc_irq_create ( gsc_irq_t irq,
gsc_device_t device 
)

◆ gsc_irq_destroy()

void gsc_irq_destroy ( gsc_irq_t irq)

◆ gsc_irq_disable()

U32 gsc_irq_disable ( gsc_irq_t irq)

◆ gsc_irq_enable()

U32 gsc_irq_enable ( gsc_irq_t irq)

◆ gsc_irq_local_create()

U32 gsc_irq_local_create ( gsc_irq_t irq,
const char *  name,
U32  int_id,
gsc_event_t **  local 
)

◆ gsc_irq_local_wait()

U32 gsc_irq_local_wait ( gsc_irq_t irq,
U32  mask,
U32  timeout_ms 
)

◆ gsc_irq_main_create()

U32 gsc_irq_main_create ( gsc_irq_t irq,
const char *  name,
U32  int_id,
gsc_event_t **  main 
)