Pin Configuration when associated with a Peripheral

When associating a pin with the UART, is it possible to still configure the pin to be open drain and with a pullup, or does the peripheral associating override those settings

Related