update to CubeMX 6.14.0, FW_H7 1.12.1
This commit is contained in:
@ -144,7 +144,7 @@
|
||||
*/
|
||||
|
||||
/** @defgroup USART USART
|
||||
* @brief HAL USART Synchronous module driver
|
||||
* @brief HAL USART Synchronous SPI module driver
|
||||
* @{
|
||||
*/
|
||||
|
||||
@ -225,8 +225,8 @@ static void USART_RxISR_16BIT_FIFOEN(USART_HandleTypeDef *husart);
|
||||
===============================================================================
|
||||
[..]
|
||||
This subsection provides a set of functions allowing to initialize the USART
|
||||
in asynchronous and in synchronous modes.
|
||||
(+) For the asynchronous mode only these parameters can be configured:
|
||||
in synchronous SPI master/slave mode.
|
||||
(+) For the synchronous SPI mode only these parameters can be configured:
|
||||
(++) Baud Rate
|
||||
(++) Word Length
|
||||
(++) Stop Bit
|
||||
@ -238,7 +238,7 @@ static void USART_RxISR_16BIT_FIFOEN(USART_HandleTypeDef *husart);
|
||||
(++) Receiver/transmitter modes
|
||||
|
||||
[..]
|
||||
The HAL_USART_Init() function follows the USART synchronous configuration
|
||||
The HAL_USART_Init() function follows the USART synchronous SPI configuration
|
||||
procedure (details for the procedure are available in reference manual).
|
||||
|
||||
@endverbatim
|
||||
@ -316,7 +316,7 @@ HAL_StatusTypeDef HAL_USART_Init(USART_HandleTypeDef *husart)
|
||||
return HAL_ERROR;
|
||||
}
|
||||
|
||||
/* In Synchronous mode, the following bits must be kept cleared:
|
||||
/* In Synchronous SPI mode, the following bits must be kept cleared:
|
||||
- LINEN bit in the USART_CR2 register
|
||||
- HDSEL, SCEN and IREN bits in the USART_CR3 register.
|
||||
*/
|
||||
@ -657,11 +657,10 @@ HAL_StatusTypeDef HAL_USART_UnRegisterCallback(USART_HandleTypeDef *husart, HAL_
|
||||
===============================================================================
|
||||
##### IO operation functions #####
|
||||
===============================================================================
|
||||
[..] This subsection provides a set of functions allowing to manage the USART synchronous
|
||||
[..] This subsection provides a set of functions allowing to manage the USART synchronous SPI
|
||||
data transfers.
|
||||
|
||||
[..] The USART supports master mode only: it cannot receive or send data related to an input
|
||||
clock (SCLK is always an output).
|
||||
[..] The USART Synchronous SPI supports master and slave modes (SCLK as output or input).
|
||||
|
||||
[..]
|
||||
|
||||
@ -2910,7 +2909,7 @@ static HAL_StatusTypeDef USART_SetConfig(USART_HandleTypeDef *husart)
|
||||
/* Clear and configure the USART Clock, CPOL, CPHA, LBCL STOP and SLVEN bits:
|
||||
* set CPOL bit according to husart->Init.CLKPolarity value
|
||||
* set CPHA bit according to husart->Init.CLKPhase value
|
||||
* set LBCL bit according to husart->Init.CLKLastBit value (used in SPI master mode only)
|
||||
* set LBCL bit according to husart->Init.CLKLastBit value (used in USART Synchronous SPI master mode only)
|
||||
* set STOP[13:12] bits according to husart->Init.StopBits value */
|
||||
tmpreg = (uint32_t)(USART_CLOCK_ENABLE);
|
||||
tmpreg |= (uint32_t)husart->Init.CLKLastBit;
|
||||
|
||||
Reference in New Issue
Block a user