So I'm designing a battery charger circuit. It has two connectors in, a main power source and then a powerbank can be connected through a USB C port. I understand that there are various IC's to handle this.
However, since my main power source is not a USB C port, I want to be able to use the USB C port to also power the circuit sometimes, using a standard USB C power source that you can plug into the wall. This is handy when testing the system in a controlled environment. But I'm unsure how to handle this, wont the charging IC sometimes try to "charge" the power outlet? Or is this automatically handled.