Universal synchronous asynchronous receiver
transmitter (USART)
Configures the USART's IrDA interface.
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 :
23.2.25.2 USART_IrDACmd
void USART_IrDACmd ( USART_TypeDef * USARTx,
FunctionalState NewState)
Enables or disables the USART's IrDA interface.
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.
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