Hi KevinRosenbaum,
After reading your problem, I create a CW project based on PE. After test, I think if you want to use PDD, two points you should take care.Now I still take ADC_PDD as an example.
1, You should include the PDD.h which you used in your main.c
If you use the ADC_PDD_StartCalibration(ADC0_DEVICE); Add the following:
#include "ADC_PDD.h"
Because ADC_PDD_StartCalibration() is defined in ADC_PDD.h as follows:
#define ADC_PDD_StartCalibration(PeripheralBase) ( \
ADC_SC3_REG(PeripheralBase) |= \
ADC_SC3_CAL_MASK \
)
2, Make sure your ADC0_DEVICE is the correct peripheral base address.
eg, I use ADC_PDD_StartCalibration(ADC0_BASE_PTR);
you can find ADC0_BASE_PTR in the IO_Map.h
After these 2 points, I compile the project with no error!
I hope my answer helps you!
Best regards!
Jing