HAL
LL_USART_ConfigAsyncMode() is only used within HAL.
 
Symbols
loading...
Files
loading...
SummarySyntaxArgumentsRelatedReferences

Return value

None

Notes

In UART mode, the following bits must be kept cleared: - LINEN bit in the USART_CR2 register, - CLKEN bit in the USART_CR2 register, - SCEN bit in the USART_CR3 register, - IREN bit in the USART_CR3 register, - HDSEL bit in the USART_CR3 register. Call of this function is equivalent to following function call sequence : - Clear LINEN in CR2 using LL_USART_DisableLIN() function - Clear CLKEN in CR2 using LL_USART_DisableSCLKOutput() function - Clear SCEN in CR3 using LL_USART_DisableSmartcard() function - Clear IREN in CR3 using LL_USART_DisableIrda() function - Clear HDSEL in CR3 using LL_USART_DisableHalfDuplex() function Other remaining configurations items related to Asynchronous Mode (as Baud Rate, Word length, Parity, ...) should be set using dedicated functions CR2 CLKEN LL_USART_ConfigAsyncMode\n CR3 SCEN LL_USART_ConfigAsyncMode\n CR3 IREN LL_USART_ConfigAsyncMode\n CR3 HDSEL LL_USART_ConfigAsyncMode

References

from examples