INTC Enumerated Data Types
[INTC]

Typedefs

typedef Int CSL_IntcEventId

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 }

Typedef Documentation

typedef Int CSL_IntcEventId

Interrupt Event IDs


Enumeration Type Documentation

Enumeration of the exception These are the symbols used along with the Exception Clear API

Enumerator:
CSL_INTC_EXCEPTION_NMI 

Symbol for NMI.

Parameters:
None 
CSL_INTC_EXCEPTION_EXT 

Symbol for External Exception.

Parameters:
None 
CSL_INTC_EXCEPTION_INT 

Symbol for Internal Exception.

Parameters:
None 
CSL_INTC_EXCEPTION_SW 

Symbol for Software Exception.

Parameters:
None 

Enumeration of the exception mask registers

These are the symbols used along with the value to be programmed into the Exception mask register.

Enumerator:
CSL_INTC_EXCEP_0TO31 

Symbol for EXPMASK[0].

Parameters:
BitMask for EXPMASK0
CSL_INTC_EXCEP_32TO63 

Symbol for EXPMASK[1].

Parameters:
BitMask for EXPMASK1
CSL_INTC_EXCEP_64TO95 

Symbol for EXPMASK[2].

Parameters:
BitMask for EXPMASK2
CSL_INTC_EXCEP_96TO127 

Symbol for EXPMASK[3].

Parameters:
BitMask for EXPMASK3

Enumeration of the control commands

These are the control commands that could be used with CSL_intcHwControl(..). Some of the commands expect an argument as documented along-side the description of the command.

Enumerator:
CSL_INTC_CMD_EVTENABLE 

Enables the event.

Parameters:
CSL_IntcEnableState 
CSL_INTC_CMD_EVTDISABLE 

Disables the event.

Parameters:
CSL_IntcEnableState 
CSL_INTC_CMD_EVTSET 

Sets the event manually.

Parameters:
None 
CSL_INTC_CMD_EVTCLEAR 

Clears the event (if pending).

Parameters:
None 
CSL_INTC_CMD_EVTDROPENABLE 

Enables the Drop Event detection feature for this event.

Parameters:
None 
CSL_INTC_CMD_EVTDROPDISABLE 

Disables the Drop Event detection feature for this event.

Parameters:
None 
CSL_INTC_CMD_EVTINVOKEFUNCTION 

To be used ONLY to invoke the associated Function handle with Event when the user is writing an exception handling routine.

Parameters:
None 

Enumeration of the queries

These are the queries that could be used with CSL_intcGetHwStatus(..). The queries return a value through the object pointed to by the pointer that it takes as an argument. The argument supported by the query is documented along-side the description of the query.

Enumerator:
CSL_INTC_QUERY_PENDSTATUS 

The Pend Status of the Event is queried.

Parameters:
Bool 

Interrupt Vector IDs

Enumerator:
CSL_INTC_VECTID_NMI 

Should be used only along with CSL_intcHookIsr()

CSL_INTC_VECTID_4 

CPU Vector 4

CSL_INTC_VECTID_5 

CPU Vector 5

CSL_INTC_VECTID_6 

CPU Vector 6

CSL_INTC_VECTID_7 

CPU Vector 7

CSL_INTC_VECTID_8 

CPU Vector 8

CSL_INTC_VECTID_9 

CPU Vector 9

CSL_INTC_VECTID_10 

CPU Vector 10

CSL_INTC_VECTID_11 

CPU Vector 11

CSL_INTC_VECTID_12 

CPU Vector 12

CSL_INTC_VECTID_13 

CPU Vector 13

CSL_INTC_VECTID_14 

CPU Vector 14

CSL_INTC_VECTID_15 

CPU Vector 15

CSL_INTC_VECTID_COMBINE 

Should be used at the time of opening an Event handle to specify that the event needs to go to the combiner

CSL_INTC_VECTID_EXCEP 

Should be used at the time of opening an Event handle to specify that the event needs to go to the exception combiner.


Copyright 2012, Texas Instruments Incorporated