I am working on a PCB project that is meant to be attached to various different devices. Each device attached to it will have different pin-outs. Each pin has to be customized through an interface where I can set the function for each pin individually. The pins can each be one of four things:
- Power (Variable 3.3-24 V)
- Ground
- An LED (Could be a single LED or a string of LEDs; likely an LED driver)
- An addressable LED Data Line or a tactile switch (controlled/read by a microcontroller pin)
In order to accomplish this, the best thing I have found is an analog multiplexer (TMUX1204DGSR) to switch each pin to the desired function. I am unsure about whether a multiplexer would be able to handle the power/ground side of things.
Am I looking at the right type of IC for this application? If not, what should I be looking at?