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
560/584
DocID023800 Rev 1
23.2.18.2 USART_StopModeWakeUpSourceConfig
Function Name
void USART_StopModeWakeUpSourceConfig (
USART_TypeDef * USARTx, uint32_t USART_WakeUpSource)
Function Description
Selects the USART WakeUp method form stop mode.
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_WakeUp : specifies the selected USART wakeup
method. This parameter can be one of the following values:
USART_WakeUpSource_AddressMatch : WUF active
on address match.
USART_WakeUpSource_StartBit : WUF active on
Start bit detection.
USART_WakeUpSource_RXNE : WUF active on
RXNE.
Return values
None.
Notes
This function has to be called before calling USART_Cmd()
function.
23.2.19 Data transfer functions
23.2.19.1 USART_SendData
Function Name
void USART_SendData ( USART_TypeDef * USARTx, uint16_t
Data)
Function Description
Transmits single data through the USARTx 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.
Data : the data to transmit.
Return values
None.
Notes
None.

Table of Contents

Related product manuals