AnsweredAssumed Answered

Why is UART_SetConfig () for the F4 family declared static?

Question asked by Lix Paulian on Jul 12, 2017
Latest reply on Jul 19, 2017 by Lix Paulian



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?