Pull-up resistor

Applications

Pull-up resistors are commonly used when interfacing logic gates to inputs or at logic outputs where the device cannot source current. They are advantageous for reducing power consumption compared to active current sources and can be mounted on the same circuit board as logic devices. Pull-up resistors are also beneficial for driving logic buses with multiple connected devices and can be safely used with CMOS logic gates.

Disadvantages

Despite their benefits, pull-up resistors consume extra power when current is drawn through them, have reduced speed compared to active current sources, and some logic families may be susceptible to power supply transients introduced through pull-up resistors. In TTL circuits, holding unused inputs low with pull-down resistors can consume more current, and typical pull-up resistor values in bipolar logic families range from 1000 to 5000 ohms.

Internal Pull-up Resistors

Many microcontrollers for embedded control applications feature internal, programmable pull-up resistors for logic inputs, reducing the need for external components. They are particularly useful in devices where a minimal number of external components are desired, providing flexibility in logic input applications and reducing the overall number of discrete components on a circuit board.

Source: https://en.wikipedia.org/wiki/Pull-up_resistor