[uart] uart4 and 6 on stm32f4, generic set function (used on uart1)