[stm32][usart] API functions to get various status flags

- enables usage of same code on F1,2,3,4