EasyManua.ls Logo

ST STM32F31xx

ST STM32F31xx
584 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Universal synchronous asynchronous receiver
transmitter (USART)
UM1581
546/584
DocID023800 Rev 1
Function Name
void USART_ClockStructInit ( USART_ClockInitTypeDef *
USART_ClockInitStruct)
Function Description
Fills each USART_ClockInitStruct member with its default value.
Parameters
USART_ClockInitStruct : pointer to a
USART_ClockInitTypeDef structure which will be initialized.
Return values
None.
Notes
None.
23.2.14.6 USART_Cmd
Function Name
void USART_Cmd ( USART_TypeDef * USARTx,
FunctionalState NewState)
Function Description
Enables or disables the specified USART peripheral.
Parameters
USARTx : Select the USART peripheral. This parameter can
be one of the following values: USART1 or USART2 or
USART3 or UART4 or UART5.
NewState : new state of the USARTx peripheral. This
parameter can be: ENABLE or DISABLE.
Return values
None.
Notes
None.
23.2.14.7 USART_DirectionModeCmd
Function Name
void USART_DirectionModeCmd ( USART_TypeDef *
USARTx, uint32_t USART_DirectionMode, FunctionalState
NewState)
Function Description
Enables or disables the USART's transmitter or receiver.
Parameters
USARTx : Select the USART peripheral. This parameter can
be one of the following values: USART1 or USART2 or
USART3 or UART4 or UART5.
USART_Direction : specifies the USART direction. This
parameter can be any combination of the following values:
USART_Mode_Tx : USART Transmitter
USART_Mode_Rx : USART Receiver

Table of Contents

Related product manuals