Open-drain GPIO current sink limitation
I'm planning to connect 40 LED with a current of 20mA (total 800mA) to 40-gpio pins of STM32G4 device. The pins will be configured as Open-drain so the 20mA LED current of each pin will flow through an external resistor and the internal low-side NMOS transistor of the IC.
In this case I believe there will be no restriction about the STM32G4 power dissipation and current capabilities. This is true or am I wrong? Please could anyone clarify this?
Thanks in advance,
Gaston

