Hi all,
I want to use interrupt, but i wouldn`t use BIOS and RTSC.
In csl_intc.h, give us a example:
* @b Example:
* @verbatim
CSL_IntcObj intcObj20;
CSL_IntcGlobalEnableState state;
CSL_IntcContext context;
CSL_Status intStat;
CSL_IntcParam vectId;
context.numEvtEntries = 0;
context.eventhandlerRecord = NULL;
// Init Module
CSL_intcInit(&context);
// NMI Enable
CSL_intcGlobalNmiEnable();
// Enable Global Interrupts
intStat = CSL_intcGlobalEnable(&state);
// Opening a handle for the Event 20 at vector id 4
vectId = CSL_INTC_VECTID_4;
hIntc20 = CSL_intcOpen (&intcObj20, CSL_INTC_EVENTID_20, &vectId , NULL);
// Close handle
CSL_IntcClose(hIntc20);
@endverbatim
My qestion:
If i use the example, it seems only map 128 system events to 12 CPUINT,
But I have to use #156 system interrupt.
I understand if I want to use #156 system interrupt. I must to do like this:
system interrupt--->host interrupt--->hwi
(1)If i would`t use RTSC and BIOS, Can i use cpintc?
(2)if i can`t use cpintc, How to map system interrupt to host interrupt.
(3)if Ti give a example or modify the code,Thank you very much.
Best Regards,
Li