Hi there!
I'm planning to add an optional pair of pull-up resistors for I2C communication (PB10 and PB11) driven by a GPIO (PB7) from a micro-controller:
The idea is to keep PB7 in input-floating mode until I'm about to use PB10 and PB11 for I2C. In that case, PB7 will be put in output-high mode, activating the pull-ups.
My question is: would leaving PB7 in input-floating mode really make like the pull-ups weren't part of the circuit? PB10 and PB11 will be re-purposed for other type of communication that doesn't require pull-ups, so I don't want them interfering with the circuit in that case.
What do you guys think?
Cheers!
PS: PB7 is the only GPIO pin I have left, there's no other available.