USART_InitIrDA_TypeDef Struct Reference

IrDA mode initialization structure.

#include <em_usart.h>

Data Fields

USART_InitAsync_TypeDef async
General Asynchronous initialization structure.
bool irRxInv
Set to invert Rx signal before IrDA demodulator.
bool irFilt
Set to enable filter on IrDA demodulator.
USART_IrDAPw_Typedef irPw
Configure the pulse width generated by the IrDA modulator as a fraction of the configured USART bit period.
bool irPrsEn
Enable the PRS channel selected by irPrsSel as input to IrDA module instead of TX.
USART_PRS_Channel_t irPrsSel
PRS can be used as input to the pulse modulator instead of TX.

IrDA mode initialization structure.

Inherited from asynchronous mode initialization structure.

Field Documentation

async

USART_InitAsync_TypeDef USART_InitIrDA_TypeDef::async

General Asynchronous initialization structure.

irRxInv

bool USART_InitIrDA_TypeDef::irRxInv

Set to invert Rx signal before IrDA demodulator.

irFilt

bool USART_InitIrDA_TypeDef::irFilt

Set to enable filter on IrDA demodulator.

irPw

USART_IrDAPw_Typedef USART_InitIrDA_TypeDef::irPw

Configure the pulse width generated by the IrDA modulator as a fraction of the configured USART bit period.

irPrsEn

bool USART_InitIrDA_TypeDef::irPrsEn

Enable the PRS channel selected by irPrsSel as input to IrDA module instead of TX.

irPrsSel

USART_PRS_Channel_t USART_InitIrDA_TypeDef::irPrsSel

PRS can be used as input to the pulse modulator instead of TX.

This value selects the channel to use.