UM1940
__LL_USART_DIVMANT_SAMPLING16
__LL_USART_DIVFRAQ_SAMPLING16
__LL_USART_DIV_SAMPLING16
Common Write and read registers Macros
LL_USART_WriteReg
LL_USART_ReadReg
Return value:
Description:
Write a value in USART register.
Parameters:
__INSTANCE__: USART Instance
__REG__: Register to be written
__VALUE__: Value to be written in the register
Return value:
None
Description:
Read a value in USART register.
Parameters:
__INSTANCE__: USART Instance
__REG__: Register to be read
Return value:
Register: value
DocID028236 Rev 2
LL USART Generic Driver
__PERIPHCLK__: Peripheral Clock
frequency used for USART instance
__BAUDRATE__: Baud rate value to
achieve
USARTDIV: value to be used for BRR
register filling in OverSampling_16 case
1291/1371
Need help?
Do you have a question about the STM32F2 and is the answer not in the manual?
Questions and answers