# csl_intc.h File Reference

`#include <ti/csl/csl.h>`
`#include <ti/csl/src/intc/cslr_intc.h>`
`#include <ti/csl/soc.h>`

## Data Structures

struct | CSL_IntcEventHandlerRecord
struct | CSL_IntcContext
struct | CSL_IntcObj
struct | CSL_IntcDropStatus

## Defines

#define | CSL_INTC_EVENTID_CNT 128
#define | CSL_INTC_EVTHANDLER_NONE ((CSL_IntcEventHandler) 0)
#define | CSL_INTC_BADHANDLE (0)
#define | CSL_INTC_MAPPED_NONE (-1)

## Typedefs

typedef Int | CSL_IntcEventId
typedef void(* | CSL_IntcEventHandler )(void *)
typedef Uint32 | CSL_IntcEventEnableState
typedef Uint32 | CSL_IntcGlobalEnableState
typedef struct CSL_IntcObj | CSL_IntcObj
typedef CSL_IntcVectId | CSL_IntcParam
typedef struct CSL_IntcObj * | CSL_IntcHandle

## Enumerations

enum | CSL_IntcVectId { CSL_INTC_VECTID_NMI = 1, CSL_INTC_VECTID_4 = 4, CSL_INTC_VECTID_5 = 5, CSL_INTC_VECTID_6 = 6, CSL_INTC_VECTID_7 = 7, CSL_INTC_VECTID_8 = 8, CSL_INTC_VECTID_9 = 9, CSL_INTC_VECTID_10 = 10, CSL_INTC_VECTID_11 = 11, CSL_INTC_VECTID_12 = 12, CSL_INTC_VECTID_13 = 13, CSL_INTC_VECTID_14 = 14,
CSL_INTC_VECTID_15 = 15, CSL_INTC_VECTID_COMBINE = 16, CSL_INTC_VECTID_EXCEP = 17
}
enum | CSL_IntcHwControlCmd { CSL_INTC_CMD_EVTENABLE = 0, CSL_INTC_CMD_EVTDISABLE = 1, CSL_INTC_CMD_EVTSET = 2, CSL_INTC_CMD_EVTCLEAR = 3, CSL_INTC_CMD_EVTDROPENABLE = 4, CSL_INTC_CMD_EVTDROPDISABLE = 5, CSL_INTC_CMD_EVTINVOKEFUNCTION = 6 }
enum | CSL_IntcHwStatusQuery { CSL_INTC_QUERY_PENDSTATUS }
enum | CSL_IntcExcepEn { CSL_INTC_EXCEP_0TO31 = 0, CSL_INTC_EXCEP_32TO63 = 1, CSL_INTC_EXCEP_64TO95 = 2, CSL_INTC_EXCEP_96TO127 = 3 }
enum | CSL_IntcExcep { CSL_INTC_EXCEPTION_NMI = 31, CSL_INTC_EXCEPTION_EXT = 30, CSL_INTC_EXCEPTION_INT = 1, CSL_INTC_EXCEPTION_SW = 0 }

## Functions

CSL_Status | CSL_intcGlobalEnable (CSL_IntcGlobalEnableState *prevState)
CSL_Status | CSL_intcGlobalDisable (CSL_IntcGlobalEnableState *prevState)
CSL_Status | CSL_intcGlobalRestore (CSL_IntcGlobalEnableState prevState)
CSL_Status | CSL_intcGlobalNmiEnable (void)
CSL_Status | CSL_intcGlobalExcepEnable (void)
CSL_Status | CSL_intcGlobalExtExcepEnable (void)
CSL_Status | CSL_intcGlobalExcepClear (CSL_IntcExcep exc)

## Detailed Description

============================================================================

Header file for functional layer CSL of INTC

Copyright 2012, Texas Instruments Incorporated