Closed flespark closed 8 months ago
Hello @flespark,
Thank you for your contribution, in fact, it's a designer's choice, you can choose which way you want to configure advanced feature.
You may reopen it at any time if you have any details to share with us, Thank you for your comprehension.
With regards
When I want config stm32wl usart tx logic level in reversion, I have to init UART such as:
The config code of advanced feature look tedious and mistake-prone without help of cubemx,maybe the define
AdvancedInit
asuint32_t
instead ofUART_AdvFeatureInitTypeDef
, only assign value tohuart2.AdvancedInit.AdvFeatureInit
, thenUART_AdvFeatureConfig
do well the remaining work. that looks more resonable