Added support for 6-/8-bit resistor ladder on PORTD