2020-05-28 02:30 AM
How to differentiate recieve and transmit interrupt of UART using HAL library , low level library and directly accessing registers ?
which HAL lib function will check this?
2020-05-28 03:06 AM
Different interrupt flags are set for RxNE and TxE.
Check the reference manual (UART/USART section) of the specific part you are using.
HAL and LL lib code check those flags.
Cannot speak for the H7 and latest L4 devices, but the basic UART/USART registers are almost identical for all STM32 devices. Even inluding STM8 devices.