The device has one ADC ,have you choosen ADC1 unit ? It builds fine for me with ADC0 .
You can check the peripheral base address with s6e1c3xd.h file and observe that ADC0 is defined for this family.
Thank you very much for your response.
I uploaded the archive of my project.
Would you teach me where I made mistake?
I checked your project ,it builds fine for me.
But the error occurs only when PDL_ADC_TYPE == PDL_ADC_A , Please check in adc.h around line 140 to see what is the type of ADC , defined. It is Type B in the project and hence I do not see the error you have mentioned.
adc_pdl.PNG 131.7 K
Thank you very much for your answer!
When I looked at around line 140, all definitions were grayed out,
and then I found my problem, which was somehow an old pld_user.h was included in my project.
After removing the old pld_user.h from the project, the project could be built fine
and ADC is working fine with our original S6E1C32 board.
Problem solved, thank you very much!