Hardware: LAUNCHXL-F28027
CCS: 6.1.3.00033 with controlSuite
I'm building from ground up a project in which I need a bidirectional communication with the PC. I'm trying to register interrupts but the symbol intVec_t cannot be found. I know that using an example project would work but I don't want to include everything it has so I created a new project and I'm trying to include files and libraries as I need them. I also tried to find its definition but Ctrl+Click doesn't lead anywhere on CCS and searching with grep on controlSuite folder doesn't yield anything meaningful but only usages of it. How can I solve this missing symbol and where is it located/defined?
#include "../f2802x_common/include/sci.h" #include "../f2802x_common/include/clk.h" #include "../f2802x_common/include/pie.h" CLK_Handle myClk; SCI_Handle mySci; PIE_Handle myPie; __interrupt void sciaTxFifoIsr(void); __interrupt void sciaRxFifoIsr(void); void InitSpiComms() { CLK_enableSciaClock(myClk); SCI_disableParity(mySci); SCI_setNumStopBits(mySci, SCI_NumStopBits_One); SCI_setCharLength(mySci, SCI_CharLength_8_Bits); SCI_enableTx(mySci); SCI_enableRx(mySci); SCI_enableTxInt(mySci); SCI_enableRxInt(mySci); #if (CPU_FRQ_60MHZ) SCI_setBaudRate(mySci, (SCI_BaudRate_e)194); #elif (CPU_FRQ_50MHZ) SCI_setBaudRate(mySci, (SCI_BaudRate_e)162); #elif (CPU_FRQ_40MHZ) SCI_setBaudRate(mySci, (SCI_BaudRate_e)129); #endif PIE_registerPieIntHandler(myPie, PIE_GroupNumber_9, PIE_SubGroupNumber_1, (intVec_t)&sciaRxFifoIsr); PIE_registerPieIntHandler(myPie, PIE_GroupNumber_9, PIE_SubGroupNumber_2, (intVec_t)&sciaTxFifoIsr); SCI_enable(mySci); return; } __interrupt void sciaRxFifoIsr(void) { } __interrupt void sciaTxFifoIsr(void) { }