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.

TMS320F28379D: Problem with using __DUAL_HEADER predefined symbol

Part Number: TMS320F28379D


Hello,

I have a problem when I'm using _DUAL_HEADERS predefined symbol,

When I use the ADC, ADC_RESOLUTION_12BIT macro is not defined and instead ADC_BITRESOLUTION_12BIT is defined,

but in the function {AdcSetMode((uint16_T)ADC_ADCC, (uint16_T)ADC_RESOLUTION_12BIT,(uint16_T)
ADC_SIGNALMODE_SINGLE);  } when I'm generating the code from Simulink it use ADC_RESOLUTION_12BIT and I should change it manually to make it works.

I want to see if you have a solution to this problem?