EasyManua.ls Logo

ST STM32F31xx - USART Firmware Driver Defines; Usart

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
568/584
DocID023800 Rev 1
Function Description
Configures the USART's IrDA interface.
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_IrDAMode : specifies the IrDA mode. This
parameter can be one of the following values:
USART_IrDAMode_LowPower :
USART_IrDAMode_Normal :
Return values
None.
Notes
None.
23.2.25.2 USART_IrDACmd
Function Name
void USART_IrDACmd ( USART_TypeDef * USARTx,
FunctionalState NewState)
Function Description
Enables or disables the USART's IrDA interface.
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 IrDA mode. This parameter can
be: ENABLE or DISABLE.
Return values
None.
Notes
None.
23.3 USART Firmware driver defines
23.3.1 USART
USART
USART_Address_Detection
#define: USART_AddressLength_4b ((uint32_t)0x00000000)
#define: USART_AddressLength_7b USART_CR2_ADDM7

Table of Contents

Related product manuals