[stm32] update doxy for usart_set_baudrate
This commit is contained in:
parent
1b818a3679
commit
af98521301
@ -36,13 +36,11 @@ Devices can have up to 3 USARTs and 2 UARTs.
|
|||||||
/*-----------------------------------------------------------------------------*/
|
/*-----------------------------------------------------------------------------*/
|
||||||
/** @brief USART Set Baudrate.
|
/** @brief USART Set Baudrate.
|
||||||
|
|
||||||
The baud rate is computed from the APB high-speed prescaler clock (for USART1)
|
The baud rate is computed from the APB high-speed prescaler clock (for USART1/6)
|
||||||
or the APB low-speed prescaler clock (for other USARTs). These values must
|
or the APB low-speed prescaler clock (for other USARTs). These values must
|
||||||
be correctly set before calling this function (refer to the rcc_clock_setup-*
|
be correctly set before calling this function (refer to the rcc_clock_setup-*
|
||||||
functions in RCC).
|
functions in RCC).
|
||||||
|
|
||||||
@todo Add support for USART6 and oversampling in F2/F4
|
|
||||||
|
|
||||||
@param[in] usart unsigned 32 bit. USART block register address base @ref usart_reg_base
|
@param[in] usart unsigned 32 bit. USART block register address base @ref usart_reg_base
|
||||||
@param[in] baud unsigned 32 bit. Baud rate specified in Hz.
|
@param[in] baud unsigned 32 bit. Baud rate specified in Hz.
|
||||||
*/
|
*/
|
||||||
|
Loading…
x
Reference in New Issue
Block a user