Kelvin Divider

Consists of equal-value resistor-switch ladder. The chips choses and sets the resistor that are taken into the circuit. Number of the resistors is equal to the number of states.

Segmented string DAC

The same ladder, but segmented

Binary weighted resistor

Disadvantages: