extracted usart configuration routines from main.c, added initialization code for uart6