I am going to design a circuit which is going to output some digital signals. The output stage of the circuit will have some level shifters. The level shifters will give flexibility to the user to choose the voltage level (1.8V, 3.3V or 5V) of the output signals. I am planning to place a three-position slide switch on the PCB. According to the position of the switch, one of mosfets will be shorted, and so, corresponding feedback branch will activate and set the output voltage.
Can you please review this idea? I am not sure if the feedback signal will be distorted or not. I think the switching frequency of the buck converter to be around 500kHz. Is this idea feasible? Can you please make some suggestions to improve it, or tell me why it wouldn't work?
EDIT: The switch will be a panel mount one and will stay in a remote location. That is why I am using the mosfets to shorten the feedback paths.