![]() |
![]() |
INTC functional layer API header file. More...
#include <cslr.h>#include <soc.h>#include <csl_error.h>#include <csl_types.h>#include <csl_general.h>Go to the source code of this file.
Data Structures | |
| struct | CSL_IRQ_Config |
| Config structure for INTC module. More... | |
| struct | CSL_IRQ_Dispatch |
| INTC dispatch structure parameters. More... | |
| struct | CSL_IrqDataObj |
| INTC Data object structure parameters. More... | |
Defines | |
| #define | CSL_CPU_IVPD_MASK 0xFFFFFF00 |
| #define | CSL_CPU_IVPD_SHIFT 8 |
| #define | IRQ_INT_CNT (32u) |
| #define | IRQ_EVENT_CNT (32u) |
| #define | CSL_INTC_NUM_PIN (32u) |
| #define | CSL_INTC_BIT_SET (1u) |
| #define | CSL_INTC_BIT_RESET (0) |
| #define | CSL_INTC_IFR_RESET (0xFFFFu) |
| #define | RESET_EVENT 0 |
| Events Numbers correspond to the bit position in IFR and IER Registers For event numbers (27 -31), IER1 and IFR1 bits are reserved. | |
| #define | NMI_EVENT 1 |
| #define | INT0_EVENT 2 |
| #define | INT1_EVENT 3 |
| #define | TINT_EVENT 4 |
| #define | PROG0_EVENT 5 |
| #define | UART_EVENT 6 |
| #define | PROG1_EVENT 7 |
| #define | DMA_EVENT 8 |
| #define | PROG2_EVENT 9 |
| #define | CoProc_EVENT 10 |
| #define | PROG3_EVENT 11 |
| #define | LCD_EVENT 12 |
| #define | SAR_EVENT 13 |
| #define | XMT2_EVENT 14 |
| #define | RCV2_EVENT 15 |
| #define | XMT3_EVENT 16 |
| #define | RCV3_EVENT 17 |
| #define | RTC_EVENT 18 |
| #define | SPI_EVENT 19 |
| #define | USB_EVENT 20 |
| #define | GPIO_EVENT 21 |
| #define | EMIF_EVENT 22 |
| #define | I2C_EVENT 23 |
| #define | BERR_EVENT 24 |
| #define | DLOG_EVENT 25 |
| #define | RTOS_EVENT 26 |
| #define | RTDXRCV_EVENT 27 |
| #define | RTDXXMT_EVENT 28 |
| #define | EMUINT_EVENT 29 |
| #define | SINT30_EVENT 30 |
| #define | SINT31_EVENT 31 |
| #define | IRQ_MASK32(x) ((Uint32)(0x1ul<<x)) |
| #define | IRQ_MASK16(x) ((Uint16)(0x1ul<<x)) |
| #define | ALGEBRAIC 1 |
| #define | INV ((void*)(-1)) |
Typedefs | |
| typedef void(* | IRQ_IsrPtr )(void) |
| ISR Routine. | |
| typedef CSL_IrqDataObj * | IRQ_Handle |
| this is a pointer to CSL_IrqObj and is passed as the first parameter to all INTC CSL APIs | |
Functions | |
| int | IRQ_plug (Uint16 EventId, IRQ_IsrPtr funcAddr) |
| int | _IRQ_plug (Uint16 EventId, IRQ_IsrPtr funcAddr) |
| CSL_Status | IRQ_init (CSL_IRQ_Dispatch *dispatchTable, Uint16 biosPresent) |
| CSL_Status | IRQ_clear (Uint16 EventId) |
| void | IRQ_clearAll (void) |
| CSL_Status | IRQ_config (Uint16 EventId, CSL_IRQ_Config *config) |
| CSL_Status | IRQ_getConfig (Uint16 EventId, CSL_IRQ_Config *config) |
| int | IRQ_disable (Uint16 EventId) |
| void | IRQ_disableAll (void) |
| int | IRQ_enable (Uint16 EventId) |
| CSL_Status | IRQ_restore (Uint16 EventId, int value) |
| CSL_Status | IRQ_getArg (Uint16 EventId, Uint32 *arg) |
| CSL_Status | IRQ_map (Uint16 EventId) |
| CSL_Status | IRQ_setArg (Uint16 EventId, Uint32 val) |
| CSL_Status | IRQ_setVecs (Uint32 Ivpd) |
| CSL_Status | IRQ_test (Uint16 EventId, Bool *IntStatus) |
| Bool | IRQ_globalDisable () |
| Bool | IRQ_globalEnable () |
| void | IRQ_globalRestore (Bool val) |
Variables | |
| static CSL_IrqDataObj | CSL_IRQ_DATA |
| Definition for INTC Data Object Structure. | |
INTC functional layer API header file.
Path: \(CSLPATH)\inc
1.7.4