Part Number: TMS320F28379D
Hi, good afternoon.
I'm trying to make an ADC converter using Code Composer Studio and when I tried to run the code, it showed the following errors. Does anyone know how to fix it?

I'm also leaving the code for the part that's giving an error below.
void Setup_ADC(void){
Uint16 acqps;
// determine minimum acquisition window (in SYSCLKS) based on resolution
if(ADC_RESOLUTION_12BIT == AdcaRegs.ADCCTL2.bit.RESOLUTION)
acqps = 14; // 75ns
else // resolution is 16-bit
acqps = 63; // 320ns
EALLOW;
CpuSysRegs.PCLKCR13.bit.ADC_A = 1;
AdcaRegs.ADCCTL2.bit.PRESCALE = 6; // set ADCCLK divider to /4
AdcSetMode(ADC_ADCA, ADC_RESOLUTION_12BIT, ADC_SIGNALMODE_SINGLE);
AdcaRegs.ADCCTL1.bit.INTPULSEPOS = 1; // Set pulse um ciclo antes do resultado
AdcaRegs.ADCCTL1.bit.ADCPWDNZ = 1; // power up the ADC
DELAY_US(1000); // delay for 1ms to allow ADC time to power up
AdcaRegs.ADCSOC0CTL.bit.CHSEL = 3;
AdcaRegs.ADCSOC0CTL.bit.ACQPS = acqps; //sample window is 15 SYSCLK cycles
AdcaRegs.ADCSOC0CTL.bit.TRIGSEL = TRIG_SEL_ePWM1_SOCA; //trigger on ePWM2 SOCA
AdcaRegs.ADCSOC1CTL.bit.CHSEL = 4;
AdcaRegs.ADCSOC1CTL.bit.ACQPS = acqps;
AdcaRegs.ADCSOC1CTL.bit.TRIGSEL = TRIG_SEL_ePWM1_SOCA;
AdcaRegs.ADCINTSEL1N2.bit.INT1SEL = 0x01; // end of SOC1 will set INT1 flag
AdcaRegs.ADCINTSEL1N2.bit.INT1E = 1; // enable INT1 flag
AdcaRegs.ADCINTFLGCLR.bit.ADCINT1 = 1; // make sure INT1 flag is cleared
EDIS;
}