29.01.2015 Views

STM32F101xx, STM32F102xx, STM32F103xx, STM32F105xx and ...

STM32F101xx, STM32F102xx, STM32F103xx, STM32F105xx and ...

STM32F101xx, STM32F102xx, STM32F103xx, STM32F105xx and ...

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Universal synchronous asynchronous receiver transmitter (USART)<br />

RM0008<br />

The USART interrupt events are connected to the same interrupt vector (see Figure 259).<br />

● During transmission: Transmission Complete, Clear to Send or Transmit Data Register<br />

empty interrupt.<br />

● While receiving: Idle Line detection, Overrun error, Receive Data register not empty,<br />

Parity error, LIN break detection, Noise Flag (only in multi buffer communication) <strong>and</strong><br />

Framing Error (only in multi buffer communication).<br />

These events generate an interrupt if the corresponding Enable Control Bit is set.<br />

Figure 259. USART interrupt mapping diagram<br />

TC<br />

TCIE<br />

TXE<br />

TXEIE<br />

CTS<br />

CTSIE<br />

IDLE<br />

IDLEIE<br />

RXNEIE<br />

ORE<br />

USART<br />

interrupt<br />

RXNEIE<br />

RXNE<br />

PE<br />

PEIE<br />

LBD<br />

LBDIE<br />

FE<br />

NE<br />

ORE<br />

EIE<br />

DMAR<br />

25.5 USART mode configuration<br />

Table 179. USART mode configuration (1)<br />

USART modes USART1 USART2 USART3 UART4 UART5<br />

Asynchronous mode X X X X X<br />

Hardware Flow Control X X X NA NA<br />

Multibuffer Communication (DMA) X X X X NA<br />

Multiprocessor Communication X X X X X<br />

Synchronous X X X NA NA<br />

Smartcard X X X NA NA<br />

Half-Duplex (Single-Wire mode) X X X X X<br />

IrDA X X X X X<br />

LIN X X X X X<br />

1. X = supported; NA = not applicable.<br />

682/995 Doc ID 13902 Rev 9

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!