Hi Aoyama-san,
You are correct. There could be additional current flowing in the mcu if the gpio is set to high-z.
This current should be minimal, but there are a few options if the current is a concern:
1) Use the analog io that allows the input to be disabled
2) Add an external tri-state buffer. This requires an additional GPIO to control the enable of the tristate buffer.
You are correct. There could be additional current flowing in the mcu if the gpio is set to high-z.
This current should be minimal, but there are a few options if the current is a concern:
1) Use the analog io that allows the input to be disabled
2) Add an external tri-state buffer. This requires an additional GPIO to control the enable of the tristate buffer.