API Documentation  9.14.00
Macros
UART2_EVENT

Macros

#define UART2_EVENT_BREAK   (0x04)
 A break has occurred.
 
#define UART2_EVENT_FRAMING   (0x01)
 A framing error has occurred.
 
#define UART2_EVENT_OVERRUN   (0x08)
 A receive overrun has occurred.
 
#define UART2_EVENT_PARITY   (0x02)
 A parity error has occurred.
 
#define UART2_EVENT_TX_BEGIN   (0x10)
 The UART will start transmitting data. More...
 
#define UART2_EVENT_TX_FINISHED   (0x20)
 The UART stopped transmitting data. More...
 

Detailed Description

Macro Definition Documentation

§ UART2_EVENT_TX_BEGIN

#define UART2_EVENT_TX_BEGIN   (0x10)

The UART will start transmitting data.

This event can be useful in RS-485 half-duplex systems to toggle TX enable high.

§ UART2_EVENT_TX_FINISHED

#define UART2_EVENT_TX_FINISHED   (0x20)

The UART stopped transmitting data.

This event can be useful in RS-485 half-duplex systems to toggle TX enable low.