Universal synchronous asynchronous receiver
transmitter (USART)
23.2.18.2 USART_StopModeWakeUpSourceConfig
void USART_StopModeWakeUpSourceConfig (
USART_TypeDef * USARTx, uint32_t USART_WakeUpSource)
Selects the USART WakeUp method form stop mode.
ï‚· 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.
ï‚· This function has to be called before calling USART_Cmd()
function.
23.2.19 Data transfer functions
23.2.19.1 USART_SendData
void USART_SendData ( USART_TypeDef * USARTx, uint16_t
Data)
Transmits single data through the USARTx peripheral.
ï‚· 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.