You may change all the parameters for the ADC with the helpl vof the APIs. The 4 different possible configurations are built-in into the component and not changeable by you. I would suggest you to check whether the APIs will cover your different settings.
Hey thanks for reply.
I have tried testing 4 combinations and they work perfectly.
We would like to have 6 configs. So is that doable?
What can i do to have 6 configs instead?
Quick summary of training material -
PSoC Creator Component Development Training:
•PSoC Creator 110: Schematic Components
•PSoC Creator 111: Component Parameters
•PSoC Creator 112: Intro to Component API Generation
•PSoC Creator 113: PLD Based Verilog Components
•PSoC Creator 210: Intro to Datapath Components
•PSoC Creator 211: Datapath Computation
•PSoC Creator 212: Datapath FIFOs
•PSoC Creator 213: Multi-Byte Datapath Components
•PSoC Creator 214: Datapath API Generation
•PSoC Creator: Custom Components
It won't be that simple to change the customizers of the component. Instead, compile the project with one required configuration, copy the macros corresponding to this particular configuration from the header file and then use them in your main.c file or just add them in the original header file corresponding to 4 configs (you shouldn't generate the code as it will go away. so keep a copy of those macros at separate location) and while switching to the new configuration, do whatever component API is doing for other configs manually which would be relatively simple.
Thanks for the input. I will surely tryout the solution that you have mentioned to be put into main.c.
This seems to be simpler that modifying the component.
I will try out if this works and will keep you updated in the same.
If this doesnt work then i have no option left other than modifying the component.