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 #551 background imageLoading...
Page #551 background image
UM1581
Universal synchronous asynchronous receiver
transmitter (USART)
DocID023800 Rev 1
551/584
23.2.14.16 USART_SetPrescaler
Function Name
void USART_SetPrescaler ( USART_TypeDef * USARTx,
uint8_t USART_Prescaler)
Function Description
Sets the system clock prescaler.
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_Prescaler : specifies the prescaler clock.
Return values
ï‚· None.
Notes
ï‚· This function has to be called before calling USART_Cmd()
function.
23.2.15 RS485 mode function
23.2.15.1 USART_DECmd
Function Name
void USART_DECmd ( USART_TypeDef * USARTx,
FunctionalState NewState)
Function Description
Enables or disables the USART's DE functionality.
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 driver enable mode. This
parameter can be: ENABLE or DISABLE.
Return values
ï‚· None.
Notes
ï‚· None.
23.2.15.2 USART_DEPolarityConfig
Function Name
void USART_DEPolarityConfig ( USART_TypeDef * USARTx,
uint32_t USART_DEPolarity)

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