EasyManuals Logo

ST STM32F31xx User Manual

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
Page #546 background imageLoading...
Page #546 background image
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

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the ST STM32F31xx and is the answer not in the manual?

ST STM32F31xx Specifications

General IconGeneral
BrandST
ModelSTM32F31xx
CategoryMicrocontrollers
LanguageEnglish

Related product manuals