UART Module with variable oversampling, parity and stop-bits