This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

CCS: interrupt enabling

Other Parts Discussed in Thread: SYSBIOS

Tool/software: Code Composer Studio

static Int32 intc_init (void)
{
CSL_IntcGlobalEnableState state;

/* INTC module initialization */
context.eventhandlerRecord = EventHandler;
context.numEvtEntries = 10;
if (CSL_intcInit(&context) != CSL_SOK)
return -1;

/* Enable NMIs */
if (CSL_intcGlobalNmiEnable() != CSL_SOK)
return -1;

/* Enable global interrupts */
if (CSL_intcGlobalEnable(&state) != CSL_SOK)
return -1;

/* INTC has been initialized successfully. */
return 0;
}

Sir..., in the above code where is the definition of CSL_intcGlobalNmiEnable(),(CSL_intcGlobalEnable(&state),(CSL_intcInit(&context)....

i tried to find in the ccsv8 but i didint..

how exactly we can enable the NMI and global interrupts...if u have any code snippets to explain it would be better