I am working with STM32 micro-controllers. These micro-controllers have the option to set the input pin as pull up or pull down: [![enter image description here][1]][1] Earlier I used to give external pull up or pull down resistor wherever required but now I am wondering whether I can do away with external components and use the pull down feature of the micro-controller itself. Will that be a good thing to do? [1]: https://i.sstatic.net/8C2I9.png