AnsweredAssumed Answered

Converting project from VisualDSP++ to CCES: SIG_P0 is undefined

Question asked by awdee0 on Oct 9, 2016
Latest reply on Nov 1, 2016 by awdee0

I am working with CCES / ADSP-21489 EZ-board, and am attempting to import sample code from EE-346 (on-chip thermal diode). The sample code was produced with VisualDSP++, so I have to import it into CCES.  


The problem: the interrupt call in Init_TWI() uses SIG_P0 as an argument, but SIG_P0 is not defined.


//excerpt from the EE-346v02 sample code Thermal_Diode_ADM1032.c:


void Init_TWI()


interrupt(SIG_P0,ISR);   //SIG_P0 isn't defined anywhere

*pTWIMITR=20|TWIEN;// reference clock=159.7/16=9.984 MHz



I assume this has something to do with importing VisualDSP projects into CCES, but I've been unable to find a solution on my own.