Why is UART_SetConfig () for the F4 family declared static?
Hi,
For the STM32F7xx family, the UART HAL library includes in its public API the function UART_SetConfig(), by which certain UART parameters can be modified at run-time, after the initial configuration (baud rate, parity, stop bits etc.) has been done. Why is this same function for the F4 family declared static?
I am working on some middleware that should be compatible with (almost) all ST32F families (as long as HAL is used), but this inconsistency is annoying. Or maybe there is another function to be used for changing UART parameters?
Lix
#uart #stm32fxxx